<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>src/viewer/actions_cmd.c</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<!-- beginning of fixed guide -->
<div id='guide'><ul>
<li><a href='#L87'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
<li><a href='#L778'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
<li class='standout'><span><a href='../files/src.html'>src</a>/<a href='../files/src--viewer.html'>viewer</a>/actions_cmd.c</span></li>
</ul></div>
<!-- end of fixed guide -->
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/src.html'>src</a>/<a href='../files/src--viewer.html'>viewer</a>/actions_cmd.c</h2>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+1 src/viewer/actions_cmd.c'  /> */</em>
<hr />
<h2 class='header'>DEFINITIONS</h2>
This source file includes following definitions.
<ol>
<li><a href='#L87' title='Defined at 87.'>mcview_remove_ext_script</a></li>
<li><a href='#L101' title='Defined at 101.'>mcview_search</a></li>
<li><a href='#L134' title='Defined at 134.'>mcview_continue_search_cmd</a></li>
<li><a href='#L189' title='Defined at 189.'>mcview_hook</a></li>
<li><a href='#L221' title='Defined at 221.'>mcview_handle_editkey</a></li>
<li><a href='#L288' title='Defined at 288.'>mcview_load_next_prev_init</a></li>
<li><a href='#L342' title='Defined at 342.'>mcview_scan_for_file</a></li>
<li><a href='#L362' title='Defined at 362.'>mcview_load_next_prev</a></li>
<li><a href='#L395' title='Defined at 395.'>mcview_load_file_from_history</a></li>
<li><a href='#L419' title='Defined at 419.'>mcview_execute_cmd</a></li>
<li><a href='#L594' title='Defined at 594.'>mcview_lookup_key</a></li>
<li><a href='#L605' title='Defined at 605.'>mcview_handle_key</a></li>
<li><a href='#L639' title='Defined at 639.'>mcview_resize</a></li>
<li><a href='#L649' title='Defined at 649.'>mcview_ok_to_quit</a></li>
<li><a href='#L690' title='Defined at 690.'>mcview_callback</a></li>
<li><a href='#L778' title='Defined at 778.'>mcview_dialog_callback</a></li>
</ol>
<hr />
<pre>
<a id='L1' name='L1'></a>   1 <em class='comment'>/*</em>
<a id='L2' name='L2'></a>   2 <em class='comment'>   Internal file viewer for the Midnight Commander</em>
<a id='L3' name='L3'></a>   3 <em class='comment'>   Callback function for some actions (hotkeys, menu)</em>
<a id='L4' name='L4'></a>   4 <em class='comment'></em>
<a id='L5' name='L5'></a>   5 <em class='comment'>   Copyright (C) 1994-2020</em>
<a id='L6' name='L6'></a>   6 <em class='comment'>   Free Software Foundation, Inc.</em>
<a id='L7' name='L7'></a>   7 <em class='comment'></em>
<a id='L8' name='L8'></a>   8 <em class='comment'>   Written by:</em>
<a id='L9' name='L9'></a>   9 <em class='comment'>   Miguel de Icaza, 1994, 1995, 1998</em>
<a id='L10' name='L10'></a>  10 <em class='comment'>   Janne Kukonlehto, 1994, 1995</em>
<a id='L11' name='L11'></a>  11 <em class='comment'>   Jakub Jelinek, 1995</em>
<a id='L12' name='L12'></a>  12 <em class='comment'>   Joseph M. Hinkle, 1996</em>
<a id='L13' name='L13'></a>  13 <em class='comment'>   Norbert Warmuth, 1997</em>
<a id='L14' name='L14'></a>  14 <em class='comment'>   Pavel Machek, 1998</em>
<a id='L15' name='L15'></a>  15 <em class='comment'>   Roland Illig &lt;roland.illig@gmx.de&gt;, 2004, 2005</em>
<a id='L16' name='L16'></a>  16 <em class='comment'>   Slava Zanko &lt;slavazanko@google.com&gt;, 2009, 2013</em>
<a id='L17' name='L17'></a>  17 <em class='comment'>   Andrew Borodin &lt;aborodin@vmail.ru&gt;, 2009, 2013</em>
<a id='L18' name='L18'></a>  18 <em class='comment'>   Ilia Maslakov &lt;il.smind@gmail.com&gt;, 2009</em>
<a id='L19' name='L19'></a>  19 <em class='comment'></em>
<a id='L20' name='L20'></a>  20 <em class='comment'>   This file is part of the Midnight Commander.</em>
<a id='L21' name='L21'></a>  21 <em class='comment'></em>
<a id='L22' name='L22'></a>  22 <em class='comment'>   The Midnight Commander is free software: you can redistribute it</em>
<a id='L23' name='L23'></a>  23 <em class='comment'>   and/or modify it under the terms of the GNU General Public License as</em>
<a id='L24' name='L24'></a>  24 <em class='comment'>   published by the Free Software Foundation, either version 3 of the License,</em>
<a id='L25' name='L25'></a>  25 <em class='comment'>   or (at your option) any later version.</em>
<a id='L26' name='L26'></a>  26 <em class='comment'></em>
<a id='L27' name='L27'></a>  27 <em class='comment'>   The Midnight Commander is distributed in the hope that it will be useful,</em>
<a id='L28' name='L28'></a>  28 <em class='comment'>   but WITHOUT ANY WARRANTY; without even the implied warranty of</em>
<a id='L29' name='L29'></a>  29 <em class='comment'>   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</em>
<a id='L30' name='L30'></a>  30 <em class='comment'>   GNU General Public License for more details.</em>
<a id='L31' name='L31'></a>  31 <em class='comment'></em>
<a id='L32' name='L32'></a>  32 <em class='comment'>   You should have received a copy of the GNU General Public License</em>
<a id='L33' name='L33'></a>  33 <em class='comment'>   along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</em>
<a id='L34' name='L34'></a>  34 <em class='comment'> */</em>
<a id='L35' name='L35'></a>  35 
<a id='L36' name='L36'></a>  36 <em class='comment'>/*</em>
<a id='L37' name='L37'></a>  37 <em class='comment'>   The functions in this section can be bound to hotkeys. They are all</em>
<a id='L38' name='L38'></a>  38 <em class='comment'>   of the same type (taking a pointer to WView as parameter and</em>
<a id='L39' name='L39'></a>  39 <em class='comment'>   returning void). TODO: In the not-too-distant future, these commands</em>
<a id='L40' name='L40'></a>  40 <em class='comment'>   will become fully configurable, like they already are in the</em>
<a id='L41' name='L41'></a>  41 <em class='comment'>   internal editor. By convention, all the function names end in</em>
<a id='L42' name='L42'></a>  42 <em class='comment'>   "_cmd".</em>
<a id='L43' name='L43'></a>  43 <em class='comment'> */</em>
<a id='L44' name='L44'></a>  44 
<a id='L45' name='L45'></a>  45 <em class='sharp'>#include</em> &lt;config.h&gt;
<a id='L46' name='L46'></a>  46 
<a id='L47' name='L47'></a>  47 <em class='sharp'>#include</em> &lt;errno.h&gt;
<a id='L48' name='L48'></a>  48 <em class='sharp'>#include</em> &lt;stdlib.h&gt;
<a id='L49' name='L49'></a>  49 
<a id='L50' name='L50'></a>  50 <em class='sharp'>#include</em> "<a href='lib--global.h.html'>lib/global.h</a>"
<a id='L51' name='L51'></a>  51 
<a id='L52' name='L52'></a>  52 <em class='sharp'>#include</em> "<a href='lib--tty--tty.h.html'>lib/tty/tty.h</a>"
<a id='L53' name='L53'></a>  53 <em class='sharp'>#include</em> "<a href='lib--tty--key.h.html'>lib/tty/key.h</a>"        <em class='comment'>/* is_idle() */</em>
<a id='L54' name='L54'></a>  54 <em class='sharp'>#include</em> "<a href='lib--lock.h.html'>lib/lock.h</a>"           <em class='comment'>/* lock_file() */</em>
<a id='L55' name='L55'></a>  55 <em class='sharp'>#include</em> "<a href='../I/util.h.html'>lib/util.h</a>"
<a id='L56' name='L56'></a>  56 <em class='sharp'>#include</em> "<a href='lib--widget.h.html'>lib/widget.h</a>"
<a id='L57' name='L57'></a>  57 <em class='sharp'>#ifdef</em> <a href='../S/tests--lib--vfs--tempdir.c.html#L31' title='Defined at 31 in tests/lib/vfs/tempdir.c.'>HAVE_CHARSET</a>
<a id='L58' name='L58'></a>  58 <em class='sharp'>#include</em> "<a href='lib--charsets.h.html'>lib/charsets.h</a>"
<a id='L59' name='L59'></a>  59 <em class='sharp'>#endif</em>
<a id='L60' name='L60'></a>  60 <em class='sharp'>#include</em> "<a href='lib--event.h.html'>lib/event.h</a>"          <em class='comment'>/* mc_event_raise() */</em>
<a id='L61' name='L61'></a>  61 <em class='sharp'>#include</em> "<a href='lib--mcconfig.h.html'>lib/mcconfig.h</a>"       <em class='comment'>/* mc_config_history_get() */</em>
<a id='L62' name='L62'></a>  62 
<a id='L63' name='L63'></a>  63 <em class='sharp'>#include</em> "<a href='src--filemanager--layout.h.html'>src/filemanager/layout.h</a>"
<a id='L64' name='L64'></a>  64 <em class='sharp'>#include</em> "<a href='src--filemanager--filemanager.h.html'>src/filemanager/filemanager.h</a>"        <em class='comment'>/* current_panel */</em>
<a id='L65' name='L65'></a>  65 <em class='sharp'>#include</em> "<a href='src--filemanager--ext.h.html'>src/filemanager/ext.h</a>"        <em class='comment'>/* regex_command_for() */</em>
<a id='L66' name='L66'></a>  66 
<a id='L67' name='L67'></a>  67 <em class='sharp'>#include</em> "<a href='../I/history.h.html'>src/history.h</a>"
<a id='L68' name='L68'></a>  68 <em class='sharp'>#include</em> "<a href='src--file_history.h.html'>src/file_history.h</a>"   <em class='comment'>/* show_file_history() */</em>
<a id='L69' name='L69'></a>  69 <em class='sharp'>#include</em> "<a href='src--execute.h.html'>src/execute.h</a>"
<a id='L70' name='L70'></a>  70 <em class='sharp'>#include</em> "<a href='src--keybind-defaults.h.html'>src/keybind-defaults.h</a>"
<a id='L71' name='L71'></a>  71 
<a id='L72' name='L72'></a>  72 <em class='sharp'>#include</em> "<a href='../I/internal.h.html'>internal.h</a>"
<a id='L73' name='L73'></a>  73 
<a id='L74' name='L74'></a>  74 <em class='comment'>/*** global variables ****************************************************************************/</em>
<a id='L75' name='L75'></a>  75 
<a id='L76' name='L76'></a>  76 <em class='comment'>/*** file scope macro definitions ****************************************************************/</em>
<a id='L77' name='L77'></a>  77 
<a id='L78' name='L78'></a>  78 <em class='comment'>/*** file scope type declarations ****************************************************************/</em>
<a id='L79' name='L79'></a>  79 
<a id='L80' name='L80'></a>  80 <em class='comment'>/*** file scope variables ************************************************************************/</em>
<a id='L81' name='L81'></a>  81 
<a id='L82' name='L82'></a>  82 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L83' name='L83'></a>  83 <em class='comment'>/*** file scope functions ************************************************************************/</em>
<a id='L84' name='L84'></a>  84 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L85' name='L85'></a>  85 
<a id='L86' name='L86'></a>  86 <strong class='reserved'>static</strong> <strong class='reserved'>void</strong>
<a id='L87' name='L87'></a>  87 <a href='../R/mcview_remove_ext_script.html' title='Multiple referred from 2 places.'>mcview_remove_ext_script</a> (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> * <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>)
     <em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><a href='#L101'><img class='icon' src='../icons/right.png' alt='[next]' /></a><img class='icon' src='../icons/n_first.png' alt='[first]' /><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+87 src/viewer/actions_cmd.c'  /> */</em>
<a id='L88' name='L88'></a>  88 <em class='brace'>{</em>
<a id='L89' name='L89'></a>  89     <strong class='reserved'>if</strong> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/ext_script.html' title='Multiple used in 8 places.'>ext_script</a> != <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>)
<a id='L90' name='L90'></a>  90     <em class='brace'>{</em>
<a id='L91' name='L91'></a>  91         <a href='../Y/mc_unlink.html' title='Multiple used in 13 places.'>mc_unlink</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/ext_script.html' title='Multiple used in 8 places.'>ext_script</a>);
<a id='L92' name='L92'></a>  92         <a href='../S/lib--vfs--path.c.html#L946' title='Defined at 946 in lib/vfs/path.c.'>vfs_path_free</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/ext_script.html' title='Multiple used in 8 places.'>ext_script</a>);
<a id='L93' name='L93'></a>  93         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/ext_script.html' title='Multiple used in 8 places.'>ext_script</a> = <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>;
<a id='L94' name='L94'></a>  94     <em class='brace'>}</em>
<a id='L95' name='L95'></a>  95 <em class='brace'>}</em>
<a id='L96' name='L96'></a>  96 
<a id='L97' name='L97'></a>  97 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L98' name='L98'></a>  98 
<a id='L99' name='L99'></a>  99 <em class='comment'>/* Both views */</em>
<a id='L100' name='L100'></a> 100 <strong class='reserved'>static</strong> <strong class='reserved'>void</strong>
<a id='L101' name='L101'></a> 101 <a href='../R/mcview_search.html' title='Multiple referred from 7 places.'>mcview_search</a> (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> * <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../S/src--filemanager--panel.c.html#L2736' title='Defined at 2736 in src/filemanager/panel.c.'>start_search</a>)
     <em class='comment'>/* <a href='#L87'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L134'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+101 src/viewer/actions_cmd.c'  /> */</em>
<a id='L102' name='L102'></a> 102 <em class='brace'>{</em>
<a id='L103' name='L103'></a> 103     <a href='../Y/off_t.html' title='Multiple used in 521 places.'>off_t</a> <a href='../Y/want_search_start.html' title='Multiple used in 10 places.'>want_search_start</a> = <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/search_start.html' title='Multiple used in 115 places.'>search_start</a>;
<a id='L104' name='L104'></a> 104 
<a id='L105' name='L105'></a> 105     <strong class='reserved'>if</strong> (<a href='../S/src--filemanager--panel.c.html#L2736' title='Defined at 2736 in src/filemanager/panel.c.'>start_search</a>)
<a id='L106' name='L106'></a> 106     <em class='brace'>{</em>
<a id='L107' name='L107'></a> 107         <strong class='reserved'>if</strong> (<a href='../S/src--viewer--dialogs.c.html#L77' title='Defined at 77 in src/viewer/dialogs.c.'>mcview_dialog_search</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>))
<a id='L108' name='L108'></a> 108         <em class='brace'>{</em>
<a id='L109' name='L109'></a> 109             <strong class='reserved'>if</strong> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/mode_flags.html' title='Multiple used in 66 places.'>mode_flags</a>.<a href='../Y/hex.html' title='Multiple used in 51 places.'>hex</a>)
<a id='L110' name='L110'></a> 110                 <a href='../Y/want_search_start.html' title='Multiple used in 10 places.'>want_search_start</a> = <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/hex_cursor.html' title='Multiple used in 41 places.'>hex_cursor</a>;
<a id='L111' name='L111'></a> 111 
<a id='L112' name='L112'></a> 112             <a href='../S/src--viewer--search.c.html#L297' title='Defined at 297 in src/viewer/search.c.'>mcview_do_search</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/want_search_start.html' title='Multiple used in 10 places.'>want_search_start</a>);
<a id='L113' name='L113'></a> 113         <em class='brace'>}</em>
<a id='L114' name='L114'></a> 114     <em class='brace'>}</em>
<a id='L115' name='L115'></a> 115     <strong class='reserved'>else</strong>
<a id='L116' name='L116'></a> 116     <em class='brace'>{</em>
<a id='L117' name='L117'></a> 117         <strong class='reserved'>if</strong> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/mode_flags.html' title='Multiple used in 66 places.'>mode_flags</a>.<a href='../Y/hex.html' title='Multiple used in 51 places.'>hex</a>)
<a id='L118' name='L118'></a> 118         <em class='brace'>{</em>
<a id='L119' name='L119'></a> 119             <strong class='reserved'>if</strong> (!<a href='../Y/mcview_search_options.html' title='Multiple used in 30 places.'>mcview_search_options</a>.<a href='../Y/backwards.html' title='Multiple used in 36 places.'>backwards</a>)
<a id='L120' name='L120'></a> 120                 <a href='../Y/want_search_start.html' title='Multiple used in 10 places.'>want_search_start</a> = <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/hex_cursor.html' title='Multiple used in 41 places.'>hex_cursor</a> + 1;
<a id='L121' name='L121'></a> 121             <strong class='reserved'>else</strong> <strong class='reserved'>if</strong> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/hex_cursor.html' title='Multiple used in 41 places.'>hex_cursor</a> &gt; 0)
<a id='L122' name='L122'></a> 122                 <a href='../Y/want_search_start.html' title='Multiple used in 10 places.'>want_search_start</a> = <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/hex_cursor.html' title='Multiple used in 41 places.'>hex_cursor</a> - 1;
<a id='L123' name='L123'></a> 123             <strong class='reserved'>else</strong>
<a id='L124' name='L124'></a> 124                 <a href='../Y/want_search_start.html' title='Multiple used in 10 places.'>want_search_start</a> = 0;
<a id='L125' name='L125'></a> 125         <em class='brace'>}</em>
<a id='L126' name='L126'></a> 126 
<a id='L127' name='L127'></a> 127         <a href='../S/src--viewer--search.c.html#L297' title='Defined at 297 in src/viewer/search.c.'>mcview_do_search</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/want_search_start.html' title='Multiple used in 10 places.'>want_search_start</a>);
<a id='L128' name='L128'></a> 128     <em class='brace'>}</em>
<a id='L129' name='L129'></a> 129 <em class='brace'>}</em>
<a id='L130' name='L130'></a> 130 
<a id='L131' name='L131'></a> 131 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L132' name='L132'></a> 132 
<a id='L133' name='L133'></a> 133 <strong class='reserved'>static</strong> <strong class='reserved'>void</strong>
<a id='L134' name='L134'></a> 134 <a href='../R/mcview_continue_search_cmd.html' title='Multiple referred from 4 places.'>mcview_continue_search_cmd</a> (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> * <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>)
     <em class='comment'>/* <a href='#L101'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L189'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+134 src/viewer/actions_cmd.c'  /> */</em>
<a id='L135' name='L135'></a> 135 <em class='brace'>{</em>
<a id='L136' name='L136'></a> 136     <strong class='reserved'>if</strong> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/last_search_string.html' title='Multiple used in 28 places.'>last_search_string</a> != <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>)
<a id='L137' name='L137'></a> 137         <a href='../S/src--viewer--actions_cmd.c.html#L101' title='Defined at 101 in src/viewer/actions_cmd.c.'>mcview_search</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/FALSE.html' title='Multiple used in 1594 places.'>FALSE</a>);
<a id='L138' name='L138'></a> 138     <strong class='reserved'>else</strong>
<a id='L139' name='L139'></a> 139     <em class='brace'>{</em>
<a id='L140' name='L140'></a> 140         <em class='comment'>/* find last search string in history */</em>
<a id='L141' name='L141'></a> 141         <a href='../Y/GList.html' title='Multiple used in 176 places.'>GList</a> *<a href='../Y/history.html' title='Multiple used in 75 places.'>history</a>;
<a id='L142' name='L142'></a> 142 
<a id='L143' name='L143'></a> 143         <a href='../Y/history.html' title='Multiple used in 75 places.'>history</a> = <a href='../S/lib--mcconfig--history.c.html#L73' title='Defined at 73 in lib/mcconfig/history.c.'>mc_config_history_get</a> (<a href='../S/src--history.h.html#L45' title='Defined at 45 in src/history.h.'>MC_HISTORY_SHARED_SEARCH</a>);
<a id='L144' name='L144'></a> 144         <strong class='reserved'>if</strong> (<a href='../Y/history.html' title='Multiple used in 75 places.'>history</a> != <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a> &amp;&amp; <a href='../Y/history.html' title='Multiple used in 75 places.'>history</a>-&gt;<a href='../Y/data.html' title='Multiple used in 912 places.'>data</a> != <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>)
<a id='L145' name='L145'></a> 145         <em class='brace'>{</em>
<a id='L146' name='L146'></a> 146             <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/last_search_string.html' title='Multiple used in 28 places.'>last_search_string</a> = (<a href='../Y/gchar.html' title='Multiple used in 338 places.'>gchar</a> *) <a href='../Y/g_strdup.html' title='Multiple used in 444 places.'>g_strdup</a> (<a href='../Y/history.html' title='Multiple used in 75 places.'>history</a>-&gt;<a href='../Y/data.html' title='Multiple used in 912 places.'>data</a>);
<a id='L147' name='L147'></a> 147             <a href='../Y/history.html' title='Multiple used in 75 places.'>history</a> = <a href='../Y/g_list_first.html' title='Multiple used in 9 places.'>g_list_first</a> (<a href='../Y/history.html' title='Multiple used in 75 places.'>history</a>);
<a id='L148' name='L148'></a> 148             <a href='../Y/g_list_free_full.html' title='Multiple used in 11 places.'>g_list_free_full</a> (<a href='../Y/history.html' title='Multiple used in 75 places.'>history</a>, <a href='../Y/g_free.html' title='Multiple used in 1230 places.'>g_free</a>);
<a id='L149' name='L149'></a> 149 
<a id='L150' name='L150'></a> 150 <em class='sharp'>#ifdef</em> <a href='../S/tests--lib--vfs--tempdir.c.html#L31' title='Defined at 31 in tests/lib/vfs/tempdir.c.'>HAVE_CHARSET</a>
<a id='L151' name='L151'></a> 151             <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/search.html' title='Multiple used in 225 places.'>search</a> = <a href='../S/lib--search--search.c.html#L137' title='Defined at 137 in lib/search/search.c.'>mc_search_new</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/last_search_string.html' title='Multiple used in 28 places.'>last_search_string</a>, <a href='../Y/cp_source.html' title='Multiple used in 25 places.'>cp_source</a>);
<a id='L152' name='L152'></a> 152 <em class='sharp'>#else</em>
<a id='L153' name='L153'></a> 153             <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/search.html' title='Multiple used in 225 places.'>search</a> = <a href='../S/lib--search--search.c.html#L137' title='Defined at 137 in lib/search/search.c.'>mc_search_new</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/last_search_string.html' title='Multiple used in 28 places.'>last_search_string</a>, <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>);
<a id='L154' name='L154'></a> 154 <em class='sharp'>#endif</em>
<a id='L155' name='L155'></a> 155             <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/search_nroff_seq.html' title='Multiple used in 18 places.'>search_nroff_seq</a> = <a href='../S/src--viewer--nroff.c.html#L147' title='Defined at 147 in src/viewer/nroff.c.'>mcview_nroff_seq_new</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L156' name='L156'></a> 156 
<a id='L157' name='L157'></a> 157             <strong class='reserved'>if</strong> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/search.html' title='Multiple used in 225 places.'>search</a> == <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>)
<a id='L158' name='L158'></a> 158             <em class='brace'>{</em>
<a id='L159' name='L159'></a> 159                 <em class='comment'>/* if not... then ask for an expression */</em>
<a id='L160' name='L160'></a> 160                 <a href='../S/lib--util.h.html#L25' title='Defined at 25 in lib/util.h.'>MC_PTR_FREE</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/last_search_string.html' title='Multiple used in 28 places.'>last_search_string</a>);
<a id='L161' name='L161'></a> 161                 <a href='../S/src--viewer--actions_cmd.c.html#L101' title='Defined at 101 in src/viewer/actions_cmd.c.'>mcview_search</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>);
<a id='L162' name='L162'></a> 162             <em class='brace'>}</em>
<a id='L163' name='L163'></a> 163             <strong class='reserved'>else</strong>
<a id='L164' name='L164'></a> 164             <em class='brace'>{</em>
<a id='L165' name='L165'></a> 165                 <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/search.html' title='Multiple used in 225 places.'>search</a>-&gt;<a href='../Y/search_type.html' title='Multiple used in 39 places.'>search_type</a> = <a href='../Y/mcview_search_options.html' title='Multiple used in 30 places.'>mcview_search_options</a>.<a href='../Y/type.html' title='Multiple used in 300 places.'>type</a>;
<a id='L166' name='L166'></a> 166 <em class='sharp'>#ifdef</em> <a href='../S/tests--lib--vfs--tempdir.c.html#L31' title='Defined at 31 in tests/lib/vfs/tempdir.c.'>HAVE_CHARSET</a>
<a id='L167' name='L167'></a> 167                 <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/search.html' title='Multiple used in 225 places.'>search</a>-&gt;<a href='../Y/is_all_charsets.html' title='Multiple used in 10 places.'>is_all_charsets</a> = <a href='../Y/mcview_search_options.html' title='Multiple used in 30 places.'>mcview_search_options</a>.<a href='../Y/all_codepages.html' title='Multiple used in 16 places.'>all_codepages</a>;
<a id='L168' name='L168'></a> 168 <em class='sharp'>#endif</em>
<a id='L169' name='L169'></a> 169                 <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/search.html' title='Multiple used in 225 places.'>search</a>-&gt;<a href='../Y/is_case_sensitive.html' title='Multiple used in 29 places.'>is_case_sensitive</a> = <a href='../Y/mcview_search_options.html' title='Multiple used in 30 places.'>mcview_search_options</a>.<a href='../Y/case_sens.html' title='Multiple used in 20 places.'>case_sens</a>;
<a id='L170' name='L170'></a> 170                 <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/search.html' title='Multiple used in 225 places.'>search</a>-&gt;<a href='../Y/whole_words.html' title='Multiple used in 19 places.'>whole_words</a> = <a href='../Y/mcview_search_options.html' title='Multiple used in 30 places.'>mcview_search_options</a>.<a href='../Y/whole_words.html' title='Multiple used in 19 places.'>whole_words</a>;
<a id='L171' name='L171'></a> 171                 <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/search.html' title='Multiple used in 225 places.'>search</a>-&gt;<a href='../Y/search_fn.html' title='Multiple used in 9 places.'>search_fn</a> = <a href='../S/src--viewer--search.c.html#L202' title='Defined at 202 in src/viewer/search.c.'>mcview_search_cmd_callback</a>;
<a id='L172' name='L172'></a> 172                 <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/search.html' title='Multiple used in 225 places.'>search</a>-&gt;<a href='../Y/update_fn.html' title='Multiple used in 9 places.'>update_fn</a> = <a href='../S/src--viewer--search.c.html#L257' title='Defined at 257 in src/viewer/search.c.'>mcview_search_update_cmd_callback</a>;
<a id='L173' name='L173'></a> 173 
<a id='L174' name='L174'></a> 174                 <a href='../S/src--viewer--actions_cmd.c.html#L101' title='Defined at 101 in src/viewer/actions_cmd.c.'>mcview_search</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/FALSE.html' title='Multiple used in 1594 places.'>FALSE</a>);
<a id='L175' name='L175'></a> 175             <em class='brace'>}</em>
<a id='L176' name='L176'></a> 176         <em class='brace'>}</em>
<a id='L177' name='L177'></a> 177         <strong class='reserved'>else</strong>
<a id='L178' name='L178'></a> 178         <em class='brace'>{</em>
<a id='L179' name='L179'></a> 179             <em class='comment'>/* if not... then ask for an expression */</em>
<a id='L180' name='L180'></a> 180             <a href='../S/lib--util.h.html#L25' title='Defined at 25 in lib/util.h.'>MC_PTR_FREE</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/last_search_string.html' title='Multiple used in 28 places.'>last_search_string</a>);
<a id='L181' name='L181'></a> 181             <a href='../S/src--viewer--actions_cmd.c.html#L101' title='Defined at 101 in src/viewer/actions_cmd.c.'>mcview_search</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>);
<a id='L182' name='L182'></a> 182         <em class='brace'>}</em>
<a id='L183' name='L183'></a> 183     <em class='brace'>}</em>
<a id='L184' name='L184'></a> 184 <em class='brace'>}</em>
<a id='L185' name='L185'></a> 185 
<a id='L186' name='L186'></a> 186 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L187' name='L187'></a> 187 
<a id='L188' name='L188'></a> 188 <strong class='reserved'>static</strong> <strong class='reserved'>void</strong>
<a id='L189' name='L189'></a> 189 <a href='../R/mcview_hook.html' title='Multiple referred from 6 places.'>mcview_hook</a> (<strong class='reserved'>void</strong> *<a href='../Y/v.html' title='Multiple used in 86 places.'>v</a>)
     <em class='comment'>/* <a href='#L134'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L221'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+189 src/viewer/actions_cmd.c'  /> */</em>
<a id='L190' name='L190'></a> 190 <em class='brace'>{</em>
<a id='L191' name='L191'></a> 191     <a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> *<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a> = (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> *) <a href='../Y/v.html' title='Multiple used in 86 places.'>v</a>;
<a id='L192' name='L192'></a> 192     <a href='../S/src--filemanager--panel.h.html#L152' title='Defined at 152 in src/filemanager/panel.h.'>WPanel</a> *<a href='../Y/panel.html' title='Multiple used in 1227 places.'>panel</a>;
<a id='L193' name='L193'></a> 193 
<a id='L194' name='L194'></a> 194     <em class='comment'>/* If the user is busy typing, wait until he finishes to update the</em>
<a id='L195' name='L195'></a> 195 <em class='comment'>       screen */</em>
<a id='L196' name='L196'></a> 196     <strong class='reserved'>if</strong> (!<a href='../S/lib--tty--key.c.html#L1688' title='Defined at 1688 in lib/tty/key.c.'>is_idle</a> ())
<a id='L197' name='L197'></a> 197     <em class='brace'>{</em>
<a id='L198' name='L198'></a> 198         <strong class='reserved'>if</strong> (!<a href='../S/lib--hook.c.html#L123' title='Defined at 123 in lib/hook.c.'>hook_present</a> (<a href='../Y/idle_hook.html' title='Multiple used in 8 places.'>idle_hook</a>, <a href='../S/src--viewer--actions_cmd.c.html#L189' title='Defined at 189 in src/viewer/actions_cmd.c.'>mcview_hook</a>))
<a id='L199' name='L199'></a> 199             <a href='../S/lib--hook.c.html#L57' title='Defined at 57 in lib/hook.c.'>add_hook</a> (&amp;<a href='../Y/idle_hook.html' title='Multiple used in 8 places.'>idle_hook</a>, <a href='../S/src--viewer--actions_cmd.c.html#L189' title='Defined at 189 in src/viewer/actions_cmd.c.'>mcview_hook</a>, <a href='../Y/v.html' title='Multiple used in 86 places.'>v</a>);
<a id='L200' name='L200'></a> 200         <strong class='reserved'>return</strong>;
<a id='L201' name='L201'></a> 201     <em class='brace'>}</em>
<a id='L202' name='L202'></a> 202 
<a id='L203' name='L203'></a> 203     <a href='../S/lib--hook.c.html#L104' title='Defined at 104 in lib/hook.c.'>delete_hook</a> (&amp;<a href='../Y/idle_hook.html' title='Multiple used in 8 places.'>idle_hook</a>, <a href='../S/src--viewer--actions_cmd.c.html#L189' title='Defined at 189 in src/viewer/actions_cmd.c.'>mcview_hook</a>);
<a id='L204' name='L204'></a> 204 
<a id='L205' name='L205'></a> 205     <strong class='reserved'>if</strong> (<a href='../D/get_current_type.html' title='Multiple defined in 3 places.'>get_current_type</a> () == <a href='../S/src--filemanager--layout.h.html#L17' title='Defined at 17 in src/filemanager/layout.h.'>view_listing</a>)
<a id='L206' name='L206'></a> 206         <a href='../Y/panel.html' title='Multiple used in 1227 places.'>panel</a> = <a href='../Y/current_panel.html' title='Multiple used in 142 places.'>current_panel</a>;
<a id='L207' name='L207'></a> 207     <strong class='reserved'>else</strong> <strong class='reserved'>if</strong> (<a href='../S/src--filemanager--layout.c.html#L1410' title='Defined at 1410 in src/filemanager/layout.c.'>get_other_type</a> () == <a href='../S/src--filemanager--layout.h.html#L17' title='Defined at 17 in src/filemanager/layout.h.'>view_listing</a>)
<a id='L208' name='L208'></a> 208         <a href='../Y/panel.html' title='Multiple used in 1227 places.'>panel</a> = <a href='../S/src--filemanager--filemanager.h.html#L21' title='Defined at 21 in src/filemanager/filemanager.h.'>other_panel</a>;
<a id='L209' name='L209'></a> 209     <strong class='reserved'>else</strong>
<a id='L210' name='L210'></a> 210         <strong class='reserved'>return</strong>;
<a id='L211' name='L211'></a> 211 
<a id='L212' name='L212'></a> 212     <a href='../S/src--viewer--lib.c.html#L204' title='Defined at 204 in src/viewer/lib.c.'>mcview_done</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L213' name='L213'></a> 213     <a href='../S/src--viewer--lib.c.html#L152' title='Defined at 152 in src/viewer/lib.c.'>mcview_init</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L214' name='L214'></a> 214     <a href='../S/src--viewer--mcviewer.c.html#L278' title='Defined at 278 in src/viewer/mcviewer.c.'>mcview_load</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, 0, <a href='../Y/panel.html' title='Multiple used in 1227 places.'>panel</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a>.<a href='../Y/list.html' title='Multiple used in 429 places.'>list</a>[<a href='../Y/panel.html' title='Multiple used in 1227 places.'>panel</a>-&gt;<a href='../Y/selected.html' title='Multiple used in 195 places.'>selected</a>].<a href='../Y/fname.html' title='Multiple used in 348 places.'>fname</a>, 0, 0, 0);
<a id='L215' name='L215'></a> 215     <a href='../S/src--viewer--display.c.html#L247' title='Defined at 247 in src/viewer/display.c.'>mcview_display</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L216' name='L216'></a> 216 <em class='brace'>}</em>
<a id='L217' name='L217'></a> 217 
<a id='L218' name='L218'></a> 218 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L219' name='L219'></a> 219 
<a id='L220' name='L220'></a> 220 <strong class='reserved'>static</strong> <a href='../S/lib--widget--widget-common.h.html#L65' title='Defined at 65 in lib/widget/widget-common.h.'>cb_ret_t</a>
<a id='L221' name='L221'></a> 221 <a href='../S/src--viewer--actions_cmd.c.html#L614' title='Referred from 614 in src/viewer/actions_cmd.c.'>mcview_handle_editkey</a> (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> * <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <strong class='reserved'>int</strong> <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a>)
     <em class='comment'>/* <a href='#L189'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L288'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+221 src/viewer/actions_cmd.c'  /> */</em>
<a id='L222' name='L222'></a> 222 <em class='brace'>{</em>
<a id='L223' name='L223'></a> 223     <strong class='reserved'>struct</strong> <a href='../S/src--viewer--internal.h.html#L54' title='Defined at 54 in src/viewer/internal.h.'>hexedit_change_node</a> *<a href='../Y/node.html' title='Multiple used in 29 places.'>node</a>;
<a id='L224' name='L224'></a> 224     <strong class='reserved'>int</strong> <a href='../Y/byte_val.html' title='Multiple used in 8 places.'>byte_val</a> = -1;
<a id='L225' name='L225'></a> 225 
<a id='L226' name='L226'></a> 226     <em class='comment'>/* Has there been a change at this position? */</em>
<a id='L227' name='L227'></a> 227     <a href='../Y/node.html' title='Multiple used in 29 places.'>node</a> = <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/change_list.html' title='Multiple used in 15 places.'>change_list</a>;
<a id='L228' name='L228'></a> 228     <strong class='reserved'>while</strong> ((<a href='../Y/node.html' title='Multiple used in 29 places.'>node</a> != <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>) &amp;&amp; (<a href='../Y/node.html' title='Multiple used in 29 places.'>node</a>-&gt;<a href='../Y/offset.html' title='Multiple used in 365 places.'>offset</a> != <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/hex_cursor.html' title='Multiple used in 41 places.'>hex_cursor</a>))
<a id='L229' name='L229'></a> 229         <a href='../Y/node.html' title='Multiple used in 29 places.'>node</a> = <a href='../Y/node.html' title='Multiple used in 29 places.'>node</a>-&gt;<a href='../Y/next.html' title='Multiple used in 271 places.'>next</a>;
<a id='L230' name='L230'></a> 230 
<a id='L231' name='L231'></a> 231     <strong class='reserved'>if</strong> (!<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/hexview_in_text.html' title='Multiple used in 14 places.'>hexview_in_text</a>)
<a id='L232' name='L232'></a> 232     <em class='brace'>{</em>
<a id='L233' name='L233'></a> 233         <em class='comment'>/* Hex editing */</em>
<a id='L234' name='L234'></a> 234         <strong class='reserved'>unsigned</strong> <strong class='reserved'>int</strong> <a href='../Y/hexvalue.html' title='Multiple used in 6 places.'>hexvalue</a> = 0;
<a id='L235' name='L235'></a> 235 
<a id='L236' name='L236'></a> 236         <strong class='reserved'>if</strong> (<a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> &gt;= '0' &amp;&amp; <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> &lt;= '9')
<a id='L237' name='L237'></a> 237             <a href='../Y/hexvalue.html' title='Multiple used in 6 places.'>hexvalue</a> = 0 + (<a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> - '0');
<a id='L238' name='L238'></a> 238         <strong class='reserved'>else</strong> <strong class='reserved'>if</strong> (<a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> &gt;= 'A' &amp;&amp; <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> &lt;= 'F')
<a id='L239' name='L239'></a> 239             <a href='../Y/hexvalue.html' title='Multiple used in 6 places.'>hexvalue</a> = 10 + (<a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> - 'A');
<a id='L240' name='L240'></a> 240         <strong class='reserved'>else</strong> <strong class='reserved'>if</strong> (<a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> &gt;= 'a' &amp;&amp; <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> &lt;= 'f')
<a id='L241' name='L241'></a> 241             <a href='../Y/hexvalue.html' title='Multiple used in 6 places.'>hexvalue</a> = 10 + (<a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> - 'a');
<a id='L242' name='L242'></a> 242         <strong class='reserved'>else</strong>
<a id='L243' name='L243'></a> 243             <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L63' title='Defined at 63 in lib/widget/widget-common.h.'>MSG_NOT_HANDLED</a>;
<a id='L244' name='L244'></a> 244 
<a id='L245' name='L245'></a> 245         <strong class='reserved'>if</strong> (<a href='../Y/node.html' title='Multiple used in 29 places.'>node</a> != <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>)
<a id='L246' name='L246'></a> 246             <a href='../Y/byte_val.html' title='Multiple used in 8 places.'>byte_val</a> = <a href='../Y/node.html' title='Multiple used in 29 places.'>node</a>-&gt;<a href='../Y/value.html' title='Multiple used in 144 places.'>value</a>;
<a id='L247' name='L247'></a> 247         <strong class='reserved'>else</strong>
<a id='L248' name='L248'></a> 248             <a href='../S/src--viewer--inlines.h.html#L96' title='Defined at 96 in src/viewer/inlines.h.'>mcview_get_byte</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/hex_cursor.html' title='Multiple used in 41 places.'>hex_cursor</a>, &amp;<a href='../Y/byte_val.html' title='Multiple used in 8 places.'>byte_val</a>);
<a id='L249' name='L249'></a> 249 
<a id='L250' name='L250'></a> 250         <strong class='reserved'>if</strong> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/hexedit_lownibble.html' title='Multiple used in 12 places.'>hexedit_lownibble</a>)
<a id='L251' name='L251'></a> 251             <a href='../Y/byte_val.html' title='Multiple used in 8 places.'>byte_val</a> = (<a href='../Y/byte_val.html' title='Multiple used in 8 places.'>byte_val</a> &amp; 0xf0) | (<a href='../Y/hexvalue.html' title='Multiple used in 6 places.'>hexvalue</a>);
<a id='L252' name='L252'></a> 252         <strong class='reserved'>else</strong>
<a id='L253' name='L253'></a> 253             <a href='../Y/byte_val.html' title='Multiple used in 8 places.'>byte_val</a> = (<a href='../Y/byte_val.html' title='Multiple used in 8 places.'>byte_val</a> &amp; 0x0f) | (<a href='../Y/hexvalue.html' title='Multiple used in 6 places.'>hexvalue</a> &lt;&lt; 4);
<a id='L254' name='L254'></a> 254     <em class='brace'>}</em>
<a id='L255' name='L255'></a> 255     <strong class='reserved'>else</strong>
<a id='L256' name='L256'></a> 256     <em class='brace'>{</em>
<a id='L257' name='L257'></a> 257         <em class='comment'>/* Text editing */</em>
<a id='L258' name='L258'></a> 258         <strong class='reserved'>if</strong> (<a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> &lt; 256 &amp;&amp; <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> != '\t')
<a id='L259' name='L259'></a> 259             <a href='../Y/byte_val.html' title='Multiple used in 8 places.'>byte_val</a> = <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a>;
<a id='L260' name='L260'></a> 260         <strong class='reserved'>else</strong>
<a id='L261' name='L261'></a> 261             <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L63' title='Defined at 63 in lib/widget/widget-common.h.'>MSG_NOT_HANDLED</a>;
<a id='L262' name='L262'></a> 262     <em class='brace'>}</em>
<a id='L263' name='L263'></a> 263 
<a id='L264' name='L264'></a> 264     <strong class='reserved'>if</strong> ((<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/filename_vpath.html' title='Multiple used in 256 places.'>filename_vpath</a> != <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>)
<a id='L265' name='L265'></a> 265         &amp;&amp; (*(<a href='../S/lib--vfs--path.h.html#L111' title='Defined at 111 in lib/vfs/path.h.'>vfs_path_get_last_path_str</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/filename_vpath.html' title='Multiple used in 256 places.'>filename_vpath</a>)) != '\0')
<a id='L266' name='L266'></a> 266         &amp;&amp; (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/change_list.html' title='Multiple used in 15 places.'>change_list</a> == <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>))
<a id='L267' name='L267'></a> 267         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/locked.html' title='Multiple used in 30 places.'>locked</a> = <a href='../S/lib--lock.c.html#L200' title='Defined at 200 in lib/lock.c.'>lock_file</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/filename_vpath.html' title='Multiple used in 256 places.'>filename_vpath</a>);
<a id='L268' name='L268'></a> 268 
<a id='L269' name='L269'></a> 269     <strong class='reserved'>if</strong> (<a href='../Y/node.html' title='Multiple used in 29 places.'>node</a> == <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>)
<a id='L270' name='L270'></a> 270     <em class='brace'>{</em>
<a id='L271' name='L271'></a> 271         <a href='../Y/node.html' title='Multiple used in 29 places.'>node</a> = <a href='../Y/g_new.html' title='Multiple used in 66 places.'>g_new</a> (<strong class='reserved'>struct</strong> <a href='../S/src--viewer--internal.h.html#L54' title='Defined at 54 in src/viewer/internal.h.'>hexedit_change_node</a>, 1);
<a id='L272' name='L272'></a> 272         <a href='../Y/node.html' title='Multiple used in 29 places.'>node</a>-&gt;<a href='../Y/offset.html' title='Multiple used in 365 places.'>offset</a> = <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/hex_cursor.html' title='Multiple used in 41 places.'>hex_cursor</a>;
<a id='L273' name='L273'></a> 273         <a href='../Y/node.html' title='Multiple used in 29 places.'>node</a>-&gt;<a href='../Y/value.html' title='Multiple used in 144 places.'>value</a> = <a href='../Y/byte_val.html' title='Multiple used in 8 places.'>byte_val</a>;
<a id='L274' name='L274'></a> 274         <a href='../S/src--viewer--hex.c.html#L471' title='Defined at 471 in src/viewer/hex.c.'>mcview_enqueue_change</a> (&amp;<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/change_list.html' title='Multiple used in 15 places.'>change_list</a>, <a href='../Y/node.html' title='Multiple used in 29 places.'>node</a>);
<a id='L275' name='L275'></a> 275     <em class='brace'>}</em>
<a id='L276' name='L276'></a> 276     <strong class='reserved'>else</strong>
<a id='L277' name='L277'></a> 277         <a href='../Y/node.html' title='Multiple used in 29 places.'>node</a>-&gt;<a href='../Y/value.html' title='Multiple used in 144 places.'>value</a> = <a href='../Y/byte_val.html' title='Multiple used in 8 places.'>byte_val</a>;
<a id='L278' name='L278'></a> 278 
<a id='L279' name='L279'></a> 279     <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dirty.html' title='Multiple used in 53 places.'>dirty</a>++;
<a id='L280' name='L280'></a> 280     <a href='../S/src--viewer--move.c.html#L199' title='Defined at 199 in src/viewer/move.c.'>mcview_move_right</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, 1);
<a id='L281' name='L281'></a> 281 
<a id='L282' name='L282'></a> 282     <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L64' title='Defined at 64 in lib/widget/widget-common.h.'>MSG_HANDLED</a>;
<a id='L283' name='L283'></a> 283 <em class='brace'>}</em>
<a id='L284' name='L284'></a> 284 
<a id='L285' name='L285'></a> 285 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L286' name='L286'></a> 286 
<a id='L287' name='L287'></a> 287 <strong class='reserved'>static</strong> <strong class='reserved'>void</strong>
<a id='L288' name='L288'></a> 288 <a href='../S/src--viewer--actions_cmd.c.html#L369' title='Referred from 369 in src/viewer/actions_cmd.c.'>mcview_load_next_prev_init</a> (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> * <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>)
     <em class='comment'>/* <a href='#L221'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L342'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+288 src/viewer/actions_cmd.c'  /> */</em>
<a id='L289' name='L289'></a> 289 <em class='brace'>{</em>
<a id='L290' name='L290'></a> 290     <strong class='reserved'>if</strong> (<a href='../Y/mc_global.html' title='Multiple used in 619 places.'>mc_global</a>.<a href='../Y/mc_run_mode.html' title='Multiple used in 37 places.'>mc_run_mode</a> != <a href='../S/lib--global.h.html#L158' title='Defined at 158 in lib/global.h.'>MC_RUN_VIEWER</a>)
<a id='L291' name='L291'></a> 291     <em class='brace'>{</em>
<a id='L292' name='L292'></a> 292         <em class='comment'>/* get file list from current panel. Update it each time */</em>
<a id='L293' name='L293'></a> 293         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a> = &amp;<a href='../Y/current_panel.html' title='Multiple used in 142 places.'>current_panel</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a>;
<a id='L294' name='L294'></a> 294         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir_idx.html' title='Multiple used in 17 places.'>dir_idx</a> = &amp;<a href='../Y/current_panel.html' title='Multiple used in 142 places.'>current_panel</a>-&gt;<a href='../Y/selected.html' title='Multiple used in 195 places.'>selected</a>;
<a id='L295' name='L295'></a> 295     <em class='brace'>}</em>
<a id='L296' name='L296'></a> 296     <strong class='reserved'>else</strong> <strong class='reserved'>if</strong> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a> == <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>)
<a id='L297' name='L297'></a> 297     <em class='brace'>{</em>
<a id='L298' name='L298'></a> 298         <em class='comment'>/* Run from command line */</em>
<a id='L299' name='L299'></a> 299         <em class='comment'>/* Run 1st time. Load/get directory */</em>
<a id='L300' name='L300'></a> 300 
<a id='L301' name='L301'></a> 301         <em class='comment'>/* TODO: check mtime of directory to reload it */</em>
<a id='L302' name='L302'></a> 302 
<a id='L303' name='L303'></a> 303         <a href='../S/src--filemanager--dir.h.html#L52' title='Defined at 52 in src/filemanager/dir.h.'>dir_sort_options_t</a> <a href='../Y/sort_op.html' title='Multiple used in 13 places.'>sort_op</a> = <em class='brace'>{</em> <a href='../Y/FALSE.html' title='Multiple used in 1594 places.'>FALSE</a>, <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>, <a href='../Y/FALSE.html' title='Multiple used in 1594 places.'>FALSE</a> <em class='brace'>}</em>;
<a id='L304' name='L304'></a> 304 
<a id='L305' name='L305'></a> 305         <em class='comment'>/* load directory where requested file is */</em>
<a id='L306' name='L306'></a> 306         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a> = <a href='../Y/g_new0.html' title='Multiple used in 80 places.'>g_new0</a> (<a href='../S/src--filemanager--dir.h.html#L42' title='Defined at 42 in src/filemanager/dir.h.'>dir_list</a>, 1);
<a id='L307' name='L307'></a> 307         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir_idx.html' title='Multiple used in 17 places.'>dir_idx</a> = <a href='../Y/g_new.html' title='Multiple used in 66 places.'>g_new</a> (<strong class='reserved'>int</strong>, 1);
<a id='L308' name='L308'></a> 308 
<a id='L309' name='L309'></a> 309         <strong class='reserved'>if</strong> (<a href='../S/src--filemanager--dir.c.html#L623' title='Defined at 623 in src/filemanager/dir.c.'>dir_list_load</a>
<a id='L310' name='L310'></a> 310             (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a>, <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/workdir_vpath.html' title='Multiple used in 15 places.'>workdir_vpath</a>, (<a href='../Y/GCompareFunc.html' title='Multiple used in 28 places.'>GCompareFunc</a>) <a href='../S/src--filemanager--dir.c.html#L326' title='Defined at 326 in src/filemanager/dir.c.'>sort_name</a>, &amp;<a href='../Y/sort_op.html' title='Multiple used in 13 places.'>sort_op</a>, <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>))
<a id='L311' name='L311'></a> 311         <em class='brace'>{</em>
<a id='L312' name='L312'></a> 312             <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/fname.html' title='Multiple used in 348 places.'>fname</a>;
<a id='L313' name='L313'></a> 313             <a href='../Y/size_t.html' title='Multiple used in 726 places.'>size_t</a> <a href='../Y/fname_len.html' title='Multiple used in 13 places.'>fname_len</a>;
<a id='L314' name='L314'></a> 314             <strong class='reserved'>int</strong> <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a>;
<a id='L315' name='L315'></a> 315 
<a id='L316' name='L316'></a> 316             <a href='../Y/fname.html' title='Multiple used in 348 places.'>fname</a> = <a href='../S/lib--util.c.html#L650' title='Defined at 650 in lib/util.c.'>x_basename</a> (<a href='../S/lib--vfs--path.h.html#L142' title='Defined at 142 in lib/vfs/path.h.'>vfs_path_as_str</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/filename_vpath.html' title='Multiple used in 256 places.'>filename_vpath</a>));
<a id='L317' name='L317'></a> 317             <a href='../Y/fname_len.html' title='Multiple used in 13 places.'>fname_len</a> = <a href='../Y/strlen.html' title='Multiple used in 281 places.'>strlen</a> (<a href='../Y/fname.html' title='Multiple used in 348 places.'>fname</a>);
<a id='L318' name='L318'></a> 318 
<a id='L319' name='L319'></a> 319             <em class='comment'>/* search current file in the list */</em>
<a id='L320' name='L320'></a> 320             <strong class='reserved'>for</strong> (<a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a> = 0; <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a> != <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a>-&gt;<a href='../Y/len.html' title='Multiple used in 1086 places.'>len</a>; <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a>++)
<a id='L321' name='L321'></a> 321             <em class='brace'>{</em>
<a id='L322' name='L322'></a> 322                 <strong class='reserved'>const</strong> <a href='../S/lib--util.h.html#L136' title='Defined at 136 in lib/util.h.'>file_entry_t</a> *<a href='../Y/fe.html' title='Multiple used in 166 places.'>fe</a> = &amp;<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a>-&gt;<a href='../Y/list.html' title='Multiple used in 429 places.'>list</a>[<a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a>];
<a id='L323' name='L323'></a> 323 
<a id='L324' name='L324'></a> 324                 <strong class='reserved'>if</strong> (<a href='../Y/fname_len.html' title='Multiple used in 13 places.'>fname_len</a> == <a href='../Y/fe.html' title='Multiple used in 166 places.'>fe</a>-&gt;<a href='../Y/fnamelen.html' title='Multiple used in 20 places.'>fnamelen</a> &amp;&amp; <a href='../Y/strncmp.html' title='Multiple used in 127 places.'>strncmp</a> (<a href='../Y/fname.html' title='Multiple used in 348 places.'>fname</a>, <a href='../Y/fe.html' title='Multiple used in 166 places.'>fe</a>-&gt;<a href='../Y/fname.html' title='Multiple used in 348 places.'>fname</a>, <a href='../Y/fname_len.html' title='Multiple used in 13 places.'>fname_len</a>) == 0)
<a id='L325' name='L325'></a> 325                     <strong class='reserved'>break</strong>;
<a id='L326' name='L326'></a> 326             <em class='brace'>}</em>
<a id='L327' name='L327'></a> 327 
<a id='L328' name='L328'></a> 328             *<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir_idx.html' title='Multiple used in 17 places.'>dir_idx</a> = <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a>;
<a id='L329' name='L329'></a> 329         <em class='brace'>}</em>
<a id='L330' name='L330'></a> 330         <strong class='reserved'>else</strong>
<a id='L331' name='L331'></a> 331         <em class='brace'>{</em>
<a id='L332' name='L332'></a> 332             <a href='../D/message.html' title='Multiple defined in 5 places.'>message</a> (<a href='../S/lib--widget--wtools.h.html#L31' title='Defined at 31 in lib/widget/wtools.h.'>D_ERROR</a>, <a href='../S/lib--widget--wtools.h.html#L14' title='Defined at 14 in lib/widget/wtools.h.'>MSG_ERROR</a>, <a href='../D/_.html' title='Multiple defined in 2 places.'>_</a>("Cannot read directory contents"));
<a id='L333' name='L333'></a> 333             <a href='../S/lib--util.h.html#L25' title='Defined at 25 in lib/util.h.'>MC_PTR_FREE</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a>);
<a id='L334' name='L334'></a> 334             <a href='../S/lib--util.h.html#L25' title='Defined at 25 in lib/util.h.'>MC_PTR_FREE</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir_idx.html' title='Multiple used in 17 places.'>dir_idx</a>);
<a id='L335' name='L335'></a> 335         <em class='brace'>}</em>
<a id='L336' name='L336'></a> 336     <em class='brace'>}</em>
<a id='L337' name='L337'></a> 337 <em class='brace'>}</em>
<a id='L338' name='L338'></a> 338 
<a id='L339' name='L339'></a> 339 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L340' name='L340'></a> 340 
<a id='L341' name='L341'></a> 341 <strong class='reserved'>static</strong> <strong class='reserved'>void</strong>
<a id='L342' name='L342'></a> 342 <a href='../S/src--viewer--actions_cmd.c.html#L370' title='Referred from 370 in src/viewer/actions_cmd.c.'>mcview_scan_for_file</a> (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> * <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <strong class='reserved'>int</strong> <a href='../Y/direction.html' title='Multiple used in 14 places.'>direction</a>)
     <em class='comment'>/* <a href='#L288'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L362'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+342 src/viewer/actions_cmd.c'  /> */</em>
<a id='L343' name='L343'></a> 343 <em class='brace'>{</em>
<a id='L344' name='L344'></a> 344     <strong class='reserved'>int</strong> <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a>;
<a id='L345' name='L345'></a> 345 
<a id='L346' name='L346'></a> 346     <strong class='reserved'>for</strong> (<a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a> = *<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir_idx.html' title='Multiple used in 17 places.'>dir_idx</a> + <a href='../Y/direction.html' title='Multiple used in 14 places.'>direction</a>; <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a> != *<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir_idx.html' title='Multiple used in 17 places.'>dir_idx</a>; <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a> += <a href='../Y/direction.html' title='Multiple used in 14 places.'>direction</a>)
<a id='L347' name='L347'></a> 347     <em class='brace'>{</em>
<a id='L348' name='L348'></a> 348         <strong class='reserved'>if</strong> (<a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a> &lt; 0)
<a id='L349' name='L349'></a> 349             <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a> = <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a>-&gt;<a href='../Y/len.html' title='Multiple used in 1086 places.'>len</a> - 1;
<a id='L350' name='L350'></a> 350         <strong class='reserved'>if</strong> (<a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a> == <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a>-&gt;<a href='../Y/len.html' title='Multiple used in 1086 places.'>len</a>)
<a id='L351' name='L351'></a> 351             <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a> = 0;
<a id='L352' name='L352'></a> 352         <strong class='reserved'>if</strong> (!<a href='../D/S_ISDIR.html' title='Multiple defined in 2 places.'>S_ISDIR</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a>-&gt;<a href='../Y/list.html' title='Multiple used in 429 places.'>list</a>[<a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a>].<a href='../Y/st.html' title='Multiple used in 447 places.'>st</a>.<a href='../Y/st_mode.html' title='Multiple used in 244 places.'>st_mode</a>))
<a id='L353' name='L353'></a> 353             <strong class='reserved'>break</strong>;
<a id='L354' name='L354'></a> 354     <em class='brace'>}</em>
<a id='L355' name='L355'></a> 355 
<a id='L356' name='L356'></a> 356     *<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir_idx.html' title='Multiple used in 17 places.'>dir_idx</a> = <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a>;
<a id='L357' name='L357'></a> 357 <em class='brace'>}</em>
<a id='L358' name='L358'></a> 358 
<a id='L359' name='L359'></a> 359 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L360' name='L360'></a> 360 
<a id='L361' name='L361'></a> 361 <strong class='reserved'>static</strong> <strong class='reserved'>void</strong>
<a id='L362' name='L362'></a> 362 <a href='../S/src--viewer--actions_cmd.c.html#L573' title='Referred from 573 in src/viewer/actions_cmd.c.'>mcview_load_next_prev</a> (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> * <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <strong class='reserved'>int</strong> <a href='../Y/direction.html' title='Multiple used in 14 places.'>direction</a>)
     <em class='comment'>/* <a href='#L342'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L395'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+362 src/viewer/actions_cmd.c'  /> */</em>
<a id='L363' name='L363'></a> 363 <em class='brace'>{</em>
<a id='L364' name='L364'></a> 364     <a href='../S/src--filemanager--dir.h.html#L42' title='Defined at 42 in src/filemanager/dir.h.'>dir_list</a> *<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a>;
<a id='L365' name='L365'></a> 365     <strong class='reserved'>int</strong> *<a href='../Y/dir_idx.html' title='Multiple used in 17 places.'>dir_idx</a>;
<a id='L366' name='L366'></a> 366     <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../Y/vfile.html' title='Multiple used in 5 places.'>vfile</a>;
<a id='L367' name='L367'></a> 367     <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../Y/ext_script.html' title='Multiple used in 8 places.'>ext_script</a> = <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>;
<a id='L368' name='L368'></a> 368 
<a id='L369' name='L369'></a> 369     <a href='../S/src--viewer--actions_cmd.c.html#L288' title='Defined at 288 in src/viewer/actions_cmd.c.'>mcview_load_next_prev_init</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L370' name='L370'></a> 370     <a href='../S/src--viewer--actions_cmd.c.html#L342' title='Defined at 342 in src/viewer/actions_cmd.c.'>mcview_scan_for_file</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/direction.html' title='Multiple used in 14 places.'>direction</a>);
<a id='L371' name='L371'></a> 371 
<a id='L372' name='L372'></a> 372     <em class='comment'>/* reinit view */</em>
<a id='L373' name='L373'></a> 373     <a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a> = <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a>;
<a id='L374' name='L374'></a> 374     <a href='../Y/dir_idx.html' title='Multiple used in 17 places.'>dir_idx</a> = <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir_idx.html' title='Multiple used in 17 places.'>dir_idx</a>;
<a id='L375' name='L375'></a> 375     <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a> = <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>;
<a id='L376' name='L376'></a> 376     <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir_idx.html' title='Multiple used in 17 places.'>dir_idx</a> = <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>;
<a id='L377' name='L377'></a> 377     <a href='../Y/vfile.html' title='Multiple used in 5 places.'>vfile</a> = <a href='../S/lib--vfs--path.c.html#L1250' title='Defined at 1250 in lib/vfs/path.c.'>vfs_path_append_new</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/workdir_vpath.html' title='Multiple used in 15 places.'>workdir_vpath</a>, <a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a>-&gt;<a href='../Y/list.html' title='Multiple used in 429 places.'>list</a>[*<a href='../Y/dir_idx.html' title='Multiple used in 17 places.'>dir_idx</a>].<a href='../Y/fname.html' title='Multiple used in 348 places.'>fname</a>, (<strong class='reserved'>char</strong> *) <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>);
<a id='L378' name='L378'></a> 378     <a href='../S/src--viewer--lib.c.html#L204' title='Defined at 204 in src/viewer/lib.c.'>mcview_done</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L379' name='L379'></a> 379     <a href='../S/src--viewer--actions_cmd.c.html#L87' title='Defined at 87 in src/viewer/actions_cmd.c.'>mcview_remove_ext_script</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L380' name='L380'></a> 380     <a href='../S/src--viewer--lib.c.html#L152' title='Defined at 152 in src/viewer/lib.c.'>mcview_init</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L381' name='L381'></a> 381     <strong class='reserved'>if</strong> (<a href='../S/src--filemanager--ext.c.html#L779' title='Defined at 779 in src/filemanager/ext.c.'>regex_command_for</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/vfile.html' title='Multiple used in 5 places.'>vfile</a>, "View", &amp;<a href='../Y/ext_script.html' title='Multiple used in 8 places.'>ext_script</a>) == 0)
<a id='L382' name='L382'></a> 382         <a href='../S/src--viewer--mcviewer.c.html#L278' title='Defined at 278 in src/viewer/mcviewer.c.'>mcview_load</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>, <a href='../S/lib--vfs--path.h.html#L142' title='Defined at 142 in lib/vfs/path.h.'>vfs_path_as_str</a> (<a href='../Y/vfile.html' title='Multiple used in 5 places.'>vfile</a>), 0, 0, 0);
<a id='L383' name='L383'></a> 383     <a href='../S/lib--vfs--path.c.html#L946' title='Defined at 946 in lib/vfs/path.c.'>vfs_path_free</a> (<a href='../Y/vfile.html' title='Multiple used in 5 places.'>vfile</a>);
<a id='L384' name='L384'></a> 384     <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a> = <a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a>;
<a id='L385' name='L385'></a> 385     <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dir_idx.html' title='Multiple used in 17 places.'>dir_idx</a> = <a href='../Y/dir_idx.html' title='Multiple used in 17 places.'>dir_idx</a>;
<a id='L386' name='L386'></a> 386     <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/ext_script.html' title='Multiple used in 8 places.'>ext_script</a> = <a href='../Y/ext_script.html' title='Multiple used in 8 places.'>ext_script</a>;
<a id='L387' name='L387'></a> 387 
<a id='L388' name='L388'></a> 388     <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dpy_bbar_dirty.html' title='Multiple used in 13 places.'>dpy_bbar_dirty</a> = <a href='../Y/FALSE.html' title='Multiple used in 1594 places.'>FALSE</a>;       <em class='comment'>/* FIXME */</em>
<a id='L389' name='L389'></a> 389     <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dirty.html' title='Multiple used in 53 places.'>dirty</a>++;
<a id='L390' name='L390'></a> 390 <em class='brace'>}</em>
<a id='L391' name='L391'></a> 391 
<a id='L392' name='L392'></a> 392 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L393' name='L393'></a> 393 
<a id='L394' name='L394'></a> 394 <strong class='reserved'>static</strong> <strong class='reserved'>void</strong>
<a id='L395' name='L395'></a> 395 <a href='../S/src--viewer--actions_cmd.c.html#L576' title='Referred from 576 in src/viewer/actions_cmd.c.'>mcview_load_file_from_history</a> (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> * <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>)
     <em class='comment'>/* <a href='#L362'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L419'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+395 src/viewer/actions_cmd.c'  /> */</em>
<a id='L396' name='L396'></a> 396 <em class='brace'>{</em>
<a id='L397' name='L397'></a> 397     <strong class='reserved'>char</strong> *<a href='../Y/filename.html' title='Multiple used in 178 places.'>filename</a>;
<a id='L398' name='L398'></a> 398     <strong class='reserved'>int</strong> <a href='../Y/action.html' title='Multiple used in 146 places.'>action</a>;
<a id='L399' name='L399'></a> 399 
<a id='L400' name='L400'></a> 400     <a href='../Y/filename.html' title='Multiple used in 178 places.'>filename</a> = <a href='../S/src--file_history.c.html#L206' title='Defined at 206 in src/file_history.c.'>show_file_history</a> (<a href='../S/lib--widget--widget-common.h.html#L16' title='Defined at 16 in lib/widget/widget-common.h.'>CONST_WIDGET</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>), &amp;<a href='../Y/action.html' title='Multiple used in 146 places.'>action</a>);
<a id='L401' name='L401'></a> 401 
<a id='L402' name='L402'></a> 402     <strong class='reserved'>if</strong> (<a href='../Y/filename.html' title='Multiple used in 178 places.'>filename</a> != <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a> &amp;&amp; (<a href='../Y/action.html' title='Multiple used in 146 places.'>action</a> == <a href='../S/lib--keybind.h.html#L138' title='Defined at 138 in lib/keybind.h.'>CK_View</a> || <a href='../Y/action.html' title='Multiple used in 146 places.'>action</a> == <a href='../S/lib--keybind.h.html#L44' title='Defined at 44 in lib/keybind.h.'>CK_Enter</a>))
<a id='L403' name='L403'></a> 403     <em class='brace'>{</em>
<a id='L404' name='L404'></a> 404         <a href='../S/src--viewer--lib.c.html#L204' title='Defined at 204 in src/viewer/lib.c.'>mcview_done</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L405' name='L405'></a> 405         <a href='../S/src--viewer--lib.c.html#L152' title='Defined at 152 in src/viewer/lib.c.'>mcview_init</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L406' name='L406'></a> 406 
<a id='L407' name='L407'></a> 407         <a href='../S/src--viewer--mcviewer.c.html#L278' title='Defined at 278 in src/viewer/mcviewer.c.'>mcview_load</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>, <a href='../Y/filename.html' title='Multiple used in 178 places.'>filename</a>, 0, 0, 0);
<a id='L408' name='L408'></a> 408 
<a id='L409' name='L409'></a> 409         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dpy_bbar_dirty.html' title='Multiple used in 13 places.'>dpy_bbar_dirty</a> = <a href='../Y/FALSE.html' title='Multiple used in 1594 places.'>FALSE</a>;   <em class='comment'>/* FIXME */</em>
<a id='L410' name='L410'></a> 410         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dirty.html' title='Multiple used in 53 places.'>dirty</a>++;
<a id='L411' name='L411'></a> 411     <em class='brace'>}</em>
<a id='L412' name='L412'></a> 412 
<a id='L413' name='L413'></a> 413     <a href='../Y/g_free.html' title='Multiple used in 1230 places.'>g_free</a> (<a href='../Y/filename.html' title='Multiple used in 178 places.'>filename</a>);
<a id='L414' name='L414'></a> 414 <em class='brace'>}</em>
<a id='L415' name='L415'></a> 415 
<a id='L416' name='L416'></a> 416 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L417' name='L417'></a> 417 
<a id='L418' name='L418'></a> 418 <strong class='reserved'>static</strong> <a href='../S/lib--widget--widget-common.h.html#L65' title='Defined at 65 in lib/widget/widget-common.h.'>cb_ret_t</a>
<a id='L419' name='L419'></a> 419 <a href='../R/mcview_execute_cmd.html' title='Multiple referred from 3 places.'>mcview_execute_cmd</a> (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> * <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <strong class='reserved'>long</strong> <a href='../Y/command.html' title='Multiple used in 270 places.'>command</a>)
     <em class='comment'>/* <a href='#L395'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L594'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+419 src/viewer/actions_cmd.c'  /> */</em>
<a id='L420' name='L420'></a> 420 <em class='brace'>{</em>
<a id='L421' name='L421'></a> 421     <strong class='reserved'>int</strong> <a href='../Y/res.html' title='Multiple used in 390 places.'>res</a> = <a href='../S/lib--widget--widget-common.h.html#L64' title='Defined at 64 in lib/widget/widget-common.h.'>MSG_HANDLED</a>;
<a id='L422' name='L422'></a> 422 
<a id='L423' name='L423'></a> 423     <strong class='reserved'>switch</strong> (<a href='../Y/command.html' title='Multiple used in 270 places.'>command</a>)
<a id='L424' name='L424'></a> 424     <em class='brace'>{</em>
<a id='L425' name='L425'></a> 425     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L86' title='Defined at 86 in lib/keybind.h.'>CK_Help</a>:
<a id='L426' name='L426'></a> 426         <em class='brace'>{</em>
<a id='L427' name='L427'></a> 427             <a href='../S/lib--event-types.h.html#L51' title='Defined at 51 in lib/event-types.h.'>ev_help_t</a> <a href='../Y/event_data.html' title='Multiple used in 91 places.'>event_data</a> = <em class='brace'>{</em> <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>, "[Internal File Viewer]" <em class='brace'>}</em>;
<a id='L428' name='L428'></a> 428             <a href='../S/lib--event--raise.c.html#L49' title='Defined at 49 in lib/event/raise.c.'>mc_event_raise</a> (<a href='../S/lib--event-types.h.html#L9' title='Defined at 9 in lib/event-types.h.'>MCEVENT_GROUP_CORE</a>, "help", &amp;<a href='../Y/event_data.html' title='Multiple used in 91 places.'>event_data</a>);
<a id='L429' name='L429'></a> 429         <em class='brace'>}</em>
<a id='L430' name='L430'></a> 430         <strong class='reserved'>break</strong>;
<a id='L431' name='L431'></a> 431     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L325' title='Defined at 325 in lib/keybind.h.'>CK_HexMode</a>:
<a id='L432' name='L432'></a> 432         <em class='comment'>/* Toggle between hex view and text view */</em>
<a id='L433' name='L433'></a> 433         <a href='../S/src--viewer--lib.c.html#L126' title='Defined at 126 in src/viewer/lib.c.'>mcview_toggle_hex_mode</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L434' name='L434'></a> 434         <strong class='reserved'>break</strong>;
<a id='L435' name='L435'></a> 435     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L326' title='Defined at 326 in lib/keybind.h.'>CK_HexEditMode</a>:
<a id='L436' name='L436'></a> 436         <em class='comment'>/* Toggle between hexview and hexedit mode */</em>
<a id='L437' name='L437'></a> 437         <a href='../S/src--viewer--hex.c.html#L441' title='Defined at 441 in src/viewer/hex.c.'>mcview_toggle_hexedit_mode</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L438' name='L438'></a> 438         <strong class='reserved'>break</strong>;
<a id='L439' name='L439'></a> 439     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L126' title='Defined at 126 in lib/keybind.h.'>CK_ToggleNavigation</a>:
<a id='L440' name='L440'></a> 440         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/hexview_in_text.html' title='Multiple used in 14 places.'>hexview_in_text</a> = !<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/hexview_in_text.html' title='Multiple used in 14 places.'>hexview_in_text</a>;
<a id='L441' name='L441'></a> 441         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dirty.html' title='Multiple used in 53 places.'>dirty</a>++;
<a id='L442' name='L442'></a> 442         <strong class='reserved'>break</strong>;
<a id='L443' name='L443'></a> 443     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L52' title='Defined at 52 in lib/keybind.h.'>CK_LeftQuick</a>:
<a id='L444' name='L444'></a> 444         <strong class='reserved'>if</strong> (!<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/mode_flags.html' title='Multiple used in 66 places.'>mode_flags</a>.<a href='../Y/hex.html' title='Multiple used in 51 places.'>hex</a>)
<a id='L445' name='L445'></a> 445             <a href='../S/src--viewer--move.c.html#L174' title='Defined at 174 in src/viewer/move.c.'>mcview_move_left</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, 10);
<a id='L446' name='L446'></a> 446         <strong class='reserved'>break</strong>;
<a id='L447' name='L447'></a> 447     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L53' title='Defined at 53 in lib/keybind.h.'>CK_RightQuick</a>:
<a id='L448' name='L448'></a> 448         <strong class='reserved'>if</strong> (!<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/mode_flags.html' title='Multiple used in 66 places.'>mode_flags</a>.<a href='../Y/hex.html' title='Multiple used in 51 places.'>hex</a>)
<a id='L449' name='L449'></a> 449             <a href='../S/src--viewer--move.c.html#L199' title='Defined at 199 in src/viewer/move.c.'>mcview_move_right</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, 10);
<a id='L450' name='L450'></a> 450         <strong class='reserved'>break</strong>;
<a id='L451' name='L451'></a> 451     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L98' title='Defined at 98 in lib/keybind.h.'>CK_Goto</a>:
<a id='L452' name='L452'></a> 452         <em class='brace'>{</em>
<a id='L453' name='L453'></a> 453             <a href='../Y/off_t.html' title='Multiple used in 521 places.'>off_t</a> <a href='../Y/addr.html' title='Multiple used in 39 places.'>addr</a>;
<a id='L454' name='L454'></a> 454 
<a id='L455' name='L455'></a> 455             <strong class='reserved'>if</strong> (<a href='../S/src--viewer--dialogs.c.html#L165' title='Defined at 165 in src/viewer/dialogs.c.'>mcview_dialog_goto</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, &amp;<a href='../Y/addr.html' title='Multiple used in 39 places.'>addr</a>))
<a id='L456' name='L456'></a> 456             <em class='brace'>{</em>
<a id='L457' name='L457'></a> 457                 <strong class='reserved'>if</strong> (<a href='../Y/addr.html' title='Multiple used in 39 places.'>addr</a> &gt;= 0)
<a id='L458' name='L458'></a> 458                     <a href='../S/src--viewer--move.c.html#L318' title='Defined at 318 in src/viewer/move.c.'>mcview_moveto_offset</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/addr.html' title='Multiple used in 39 places.'>addr</a>);
<a id='L459' name='L459'></a> 459                 <strong class='reserved'>else</strong>
<a id='L460' name='L460'></a> 460                 <em class='brace'>{</em>
<a id='L461' name='L461'></a> 461                     <a href='../D/message.html' title='Multiple defined in 5 places.'>message</a> (<a href='../S/lib--widget--wtools.h.html#L31' title='Defined at 31 in lib/widget/wtools.h.'>D_ERROR</a>, <a href='../D/_.html' title='Multiple defined in 2 places.'>_</a>("Warning"), "%s", <a href='../D/_.html' title='Multiple defined in 2 places.'>_</a>("Invalid value"));
<a id='L462' name='L462'></a> 462                     <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dirty.html' title='Multiple used in 53 places.'>dirty</a>++;
<a id='L463' name='L463'></a> 463                 <em class='brace'>}</em>
<a id='L464' name='L464'></a> 464             <em class='brace'>}</em>
<a id='L465' name='L465'></a> 465             <strong class='reserved'>break</strong>;
<a id='L466' name='L466'></a> 466         <em class='brace'>}</em>
<a id='L467' name='L467'></a> 467     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L96' title='Defined at 96 in lib/keybind.h.'>CK_Save</a>:
<a id='L468' name='L468'></a> 468         <a href='../S/src--viewer--hex.c.html#L380' title='Defined at 380 in src/viewer/hex.c.'>mcview_hexedit_save_changes</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L469' name='L469'></a> 469         <strong class='reserved'>break</strong>;
<a id='L470' name='L470'></a> 470     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L81' title='Defined at 81 in lib/keybind.h.'>CK_Search</a>:
<a id='L471' name='L471'></a> 471         <a href='../S/src--viewer--actions_cmd.c.html#L101' title='Defined at 101 in src/viewer/actions_cmd.c.'>mcview_search</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>);
<a id='L472' name='L472'></a> 472         <strong class='reserved'>break</strong>;
<a id='L473' name='L473'></a> 473     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L82' title='Defined at 82 in lib/keybind.h.'>CK_SearchContinue</a>:
<a id='L474' name='L474'></a> 474         <a href='../S/src--viewer--actions_cmd.c.html#L134' title='Defined at 134 in src/viewer/actions_cmd.c.'>mcview_continue_search_cmd</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L475' name='L475'></a> 475         <strong class='reserved'>break</strong>;
<a id='L476' name='L476'></a> 476     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L329' title='Defined at 329 in lib/keybind.h.'>CK_SearchForward</a>:
<a id='L477' name='L477'></a> 477         <a href='../Y/mcview_search_options.html' title='Multiple used in 30 places.'>mcview_search_options</a>.<a href='../Y/backwards.html' title='Multiple used in 36 places.'>backwards</a> = <a href='../Y/FALSE.html' title='Multiple used in 1594 places.'>FALSE</a>;
<a id='L478' name='L478'></a> 478         <a href='../S/src--viewer--actions_cmd.c.html#L101' title='Defined at 101 in src/viewer/actions_cmd.c.'>mcview_search</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>);
<a id='L479' name='L479'></a> 479         <strong class='reserved'>break</strong>;
<a id='L480' name='L480'></a> 480     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L331' title='Defined at 331 in lib/keybind.h.'>CK_SearchForwardContinue</a>:
<a id='L481' name='L481'></a> 481         <a href='../Y/mcview_search_options.html' title='Multiple used in 30 places.'>mcview_search_options</a>.<a href='../Y/backwards.html' title='Multiple used in 36 places.'>backwards</a> = <a href='../Y/FALSE.html' title='Multiple used in 1594 places.'>FALSE</a>;
<a id='L482' name='L482'></a> 482         <a href='../S/src--viewer--actions_cmd.c.html#L134' title='Defined at 134 in src/viewer/actions_cmd.c.'>mcview_continue_search_cmd</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L483' name='L483'></a> 483         <strong class='reserved'>break</strong>;
<a id='L484' name='L484'></a> 484     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L330' title='Defined at 330 in lib/keybind.h.'>CK_SearchBackward</a>:
<a id='L485' name='L485'></a> 485         <a href='../Y/mcview_search_options.html' title='Multiple used in 30 places.'>mcview_search_options</a>.<a href='../Y/backwards.html' title='Multiple used in 36 places.'>backwards</a> = <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>;
<a id='L486' name='L486'></a> 486         <a href='../S/src--viewer--actions_cmd.c.html#L101' title='Defined at 101 in src/viewer/actions_cmd.c.'>mcview_search</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>);
<a id='L487' name='L487'></a> 487         <strong class='reserved'>break</strong>;
<a id='L488' name='L488'></a> 488     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L332' title='Defined at 332 in lib/keybind.h.'>CK_SearchBackwardContinue</a>:
<a id='L489' name='L489'></a> 489         <a href='../Y/mcview_search_options.html' title='Multiple used in 30 places.'>mcview_search_options</a>.<a href='../Y/backwards.html' title='Multiple used in 36 places.'>backwards</a> = <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>;
<a id='L490' name='L490'></a> 490         <a href='../S/src--viewer--actions_cmd.c.html#L134' title='Defined at 134 in src/viewer/actions_cmd.c.'>mcview_continue_search_cmd</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L491' name='L491'></a> 491         <strong class='reserved'>break</strong>;
<a id='L492' name='L492'></a> 492     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L333' title='Defined at 333 in lib/keybind.h.'>CK_SearchOppositeContinue</a>:
<a id='L493' name='L493'></a> 493         <em class='brace'>{</em>
<a id='L494' name='L494'></a> 494             <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/direction.html' title='Multiple used in 14 places.'>direction</a>;
<a id='L495' name='L495'></a> 495 
<a id='L496' name='L496'></a> 496             <a href='../Y/direction.html' title='Multiple used in 14 places.'>direction</a> = <a href='../Y/mcview_search_options.html' title='Multiple used in 30 places.'>mcview_search_options</a>.<a href='../Y/backwards.html' title='Multiple used in 36 places.'>backwards</a>;
<a id='L497' name='L497'></a> 497             <a href='../Y/mcview_search_options.html' title='Multiple used in 30 places.'>mcview_search_options</a>.<a href='../Y/backwards.html' title='Multiple used in 36 places.'>backwards</a> = !<a href='../Y/direction.html' title='Multiple used in 14 places.'>direction</a>;
<a id='L498' name='L498'></a> 498             <a href='../S/src--viewer--actions_cmd.c.html#L134' title='Defined at 134 in src/viewer/actions_cmd.c.'>mcview_continue_search_cmd</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L499' name='L499'></a> 499             <a href='../Y/mcview_search_options.html' title='Multiple used in 30 places.'>mcview_search_options</a>.<a href='../Y/backwards.html' title='Multiple used in 36 places.'>backwards</a> = <a href='../Y/direction.html' title='Multiple used in 14 places.'>direction</a>;
<a id='L500' name='L500'></a> 500         <em class='brace'>}</em>
<a id='L501' name='L501'></a> 501         <strong class='reserved'>break</strong>;
<a id='L502' name='L502'></a> 502     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L322' title='Defined at 322 in lib/keybind.h.'>CK_WrapMode</a>:
<a id='L503' name='L503'></a> 503         <em class='comment'>/* Toggle between wrapped and unwrapped view */</em>
<a id='L504' name='L504'></a> 504         <a href='../S/src--viewer--lib.c.html#L103' title='Defined at 103 in src/viewer/lib.c.'>mcview_toggle_wrap_mode</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L505' name='L505'></a> 505         <strong class='reserved'>break</strong>;
<a id='L506' name='L506'></a> 506     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L323' title='Defined at 323 in lib/keybind.h.'>CK_MagicMode</a>:
<a id='L507' name='L507'></a> 507         <a href='../S/src--viewer--lib.c.html#L72' title='Defined at 72 in src/viewer/lib.c.'>mcview_toggle_magic_mode</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L508' name='L508'></a> 508         <strong class='reserved'>break</strong>;
<a id='L509' name='L509'></a> 509     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L324' title='Defined at 324 in lib/keybind.h.'>CK_NroffMode</a>:
<a id='L510' name='L510'></a> 510         <a href='../S/src--viewer--lib.c.html#L114' title='Defined at 114 in src/viewer/lib.c.'>mcview_toggle_nroff_mode</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L511' name='L511'></a> 511         <strong class='reserved'>break</strong>;
<a id='L512' name='L512'></a> 512     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L50' title='Defined at 50 in lib/keybind.h.'>CK_Home</a>:
<a id='L513' name='L513'></a> 513         <a href='../S/src--viewer--move.c.html#L272' title='Defined at 272 in src/viewer/move.c.'>mcview_moveto_bol</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L514' name='L514'></a> 514         <strong class='reserved'>break</strong>;
<a id='L515' name='L515'></a> 515     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L51' title='Defined at 51 in lib/keybind.h.'>CK_End</a>:
<a id='L516' name='L516'></a> 516         <a href='../S/src--viewer--move.c.html#L289' title='Defined at 289 in src/viewer/move.c.'>mcview_moveto_eol</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L517' name='L517'></a> 517         <strong class='reserved'>break</strong>;
<a id='L518' name='L518'></a> 518     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L48' title='Defined at 48 in lib/keybind.h.'>CK_Left</a>:
<a id='L519' name='L519'></a> 519         <a href='../S/src--viewer--move.c.html#L174' title='Defined at 174 in src/viewer/move.c.'>mcview_move_left</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, 1);
<a id='L520' name='L520'></a> 520         <strong class='reserved'>break</strong>;
<a id='L521' name='L521'></a> 521     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L49' title='Defined at 49 in lib/keybind.h.'>CK_Right</a>:
<a id='L522' name='L522'></a> 522         <a href='../S/src--viewer--move.c.html#L199' title='Defined at 199 in src/viewer/move.c.'>mcview_move_right</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, 1);
<a id='L523' name='L523'></a> 523         <strong class='reserved'>break</strong>;
<a id='L524' name='L524'></a> 524     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L46' title='Defined at 46 in lib/keybind.h.'>CK_Up</a>:
<a id='L525' name='L525'></a> 525         <a href='../S/src--viewer--move.c.html#L110' title='Defined at 110 in src/viewer/move.c.'>mcview_move_up</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, 1);
<a id='L526' name='L526'></a> 526         <strong class='reserved'>break</strong>;
<a id='L527' name='L527'></a> 527     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L47' title='Defined at 47 in lib/keybind.h.'>CK_Down</a>:
<a id='L528' name='L528'></a> 528         <a href='../S/src--viewer--move.c.html#L141' title='Defined at 141 in src/viewer/move.c.'>mcview_move_down</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, 1);
<a id='L529' name='L529'></a> 529         <strong class='reserved'>break</strong>;
<a id='L530' name='L530'></a> 530     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L56' title='Defined at 56 in lib/keybind.h.'>CK_HalfPageUp</a>:
<a id='L531' name='L531'></a> 531         <a href='../S/src--viewer--move.c.html#L110' title='Defined at 110 in src/viewer/move.c.'>mcview_move_up</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/data_area.html' title='Multiple used in 35 places.'>data_area</a>.<a href='../Y/height.html' title='Multiple used in 97 places.'>height</a> + 1) / 2);
<a id='L532' name='L532'></a> 532         <strong class='reserved'>break</strong>;
<a id='L533' name='L533'></a> 533     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L57' title='Defined at 57 in lib/keybind.h.'>CK_HalfPageDown</a>:
<a id='L534' name='L534'></a> 534         <a href='../S/src--viewer--move.c.html#L141' title='Defined at 141 in src/viewer/move.c.'>mcview_move_down</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/data_area.html' title='Multiple used in 35 places.'>data_area</a>.<a href='../Y/height.html' title='Multiple used in 97 places.'>height</a> + 1) / 2);
<a id='L535' name='L535'></a> 535         <strong class='reserved'>break</strong>;
<a id='L536' name='L536'></a> 536     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L54' title='Defined at 54 in lib/keybind.h.'>CK_PageUp</a>:
<a id='L537' name='L537'></a> 537         <a href='../S/src--viewer--move.c.html#L110' title='Defined at 110 in src/viewer/move.c.'>mcview_move_up</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/data_area.html' title='Multiple used in 35 places.'>data_area</a>.<a href='../Y/height.html' title='Multiple used in 97 places.'>height</a>);
<a id='L538' name='L538'></a> 538         <strong class='reserved'>break</strong>;
<a id='L539' name='L539'></a> 539     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L55' title='Defined at 55 in lib/keybind.h.'>CK_PageDown</a>:
<a id='L540' name='L540'></a> 540         <a href='../S/src--viewer--move.c.html#L141' title='Defined at 141 in src/viewer/move.c.'>mcview_move_down</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/data_area.html' title='Multiple used in 35 places.'>data_area</a>.<a href='../Y/height.html' title='Multiple used in 97 places.'>height</a>);
<a id='L541' name='L541'></a> 541         <strong class='reserved'>break</strong>;
<a id='L542' name='L542'></a> 542     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L58' title='Defined at 58 in lib/keybind.h.'>CK_Top</a>:
<a id='L543' name='L543'></a> 543         <a href='../S/src--viewer--move.c.html#L229' title='Defined at 229 in src/viewer/move.c.'>mcview_moveto_top</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L544' name='L544'></a> 544         <strong class='reserved'>break</strong>;
<a id='L545' name='L545'></a> 545     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L59' title='Defined at 59 in lib/keybind.h.'>CK_Bottom</a>:
<a id='L546' name='L546'></a> 546         <a href='../S/src--viewer--move.c.html#L242' title='Defined at 242 in src/viewer/move.c.'>mcview_moveto_bottom</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L547' name='L547'></a> 547         <strong class='reserved'>break</strong>;
<a id='L548' name='L548'></a> 548     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L89' title='Defined at 89 in lib/keybind.h.'>CK_Shell</a>:
<a id='L549' name='L549'></a> 549         <a href='../S/src--execute.c.html#L449' title='Defined at 449 in src/execute.c.'>toggle_subshell</a> ();
<a id='L550' name='L550'></a> 550         <strong class='reserved'>break</strong>;
<a id='L551' name='L551'></a> 551     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L328' title='Defined at 328 in lib/keybind.h.'>CK_Ruler</a>:
<a id='L552' name='L552'></a> 552         <a href='../S/src--viewer--display.c.html#L334' title='Defined at 334 in src/viewer/display.c.'>mcview_display_toggle_ruler</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L553' name='L553'></a> 553         <strong class='reserved'>break</strong>;
<a id='L554' name='L554'></a> 554     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L130' title='Defined at 130 in lib/keybind.h.'>CK_Bookmark</a>:
<a id='L555' name='L555'></a> 555         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dpy_start.html' title='Multiple used in 39 places.'>dpy_start</a> = <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/marks.html' title='Multiple used in 5 places.'>marks</a>[<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/marker.html' title='Multiple used in 5 places.'>marker</a>];
<a id='L556' name='L556'></a> 556         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dpy_paragraph_skip_lines.html' title='Multiple used in 27 places.'>dpy_paragraph_skip_lines</a> = 0;     <em class='comment'>/* TODO: remember this value in the marker? */</em>
<a id='L557' name='L557'></a> 557         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dpy_wrap_dirty.html' title='Multiple used in 22 places.'>dpy_wrap_dirty</a> = <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>;
<a id='L558' name='L558'></a> 558         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dirty.html' title='Multiple used in 53 places.'>dirty</a>++;
<a id='L559' name='L559'></a> 559         <strong class='reserved'>break</strong>;
<a id='L560' name='L560'></a> 560     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L327' title='Defined at 327 in lib/keybind.h.'>CK_BookmarkGoto</a>:
<a id='L561' name='L561'></a> 561         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/marks.html' title='Multiple used in 5 places.'>marks</a>[<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/marker.html' title='Multiple used in 5 places.'>marker</a>] = <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dpy_start.html' title='Multiple used in 39 places.'>dpy_start</a>;
<a id='L562' name='L562'></a> 562         <strong class='reserved'>break</strong>;
<a id='L563' name='L563'></a> 563 <em class='sharp'>#ifdef</em> <a href='../S/tests--lib--vfs--tempdir.c.html#L31' title='Defined at 31 in tests/lib/vfs/tempdir.c.'>HAVE_CHARSET</a>
<a id='L564' name='L564'></a> 564     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L90' title='Defined at 90 in lib/keybind.h.'>CK_SelectCodepage</a>:
<a id='L565' name='L565'></a> 565         <a href='../S/src--viewer--lib.c.html#L288' title='Defined at 288 in src/viewer/lib.c.'>mcview_select_encoding</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L566' name='L566'></a> 566         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dirty.html' title='Multiple used in 53 places.'>dirty</a>++;
<a id='L567' name='L567'></a> 567         <strong class='reserved'>break</strong>;
<a id='L568' name='L568'></a> 568 <em class='sharp'>#endif</em>
<a id='L569' name='L569'></a> 569     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L109' title='Defined at 109 in lib/keybind.h.'>CK_FileNext</a>:
<a id='L570' name='L570'></a> 570     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L108' title='Defined at 108 in lib/keybind.h.'>CK_FilePrev</a>:
<a id='L571' name='L571'></a> 571         <em class='comment'>/* Does not work in panel mode */</em>
<a id='L572' name='L572'></a> 572         <strong class='reserved'>if</strong> (!<a href='../S/src--viewer--inlines.h.html#L50' title='Defined at 50 in src/viewer/inlines.h.'>mcview_is_in_panel</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>))
<a id='L573' name='L573'></a> 573             <a href='../S/src--viewer--actions_cmd.c.html#L362' title='Defined at 362 in src/viewer/actions_cmd.c.'>mcview_load_next_prev</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/command.html' title='Multiple used in 270 places.'>command</a> == <a href='../S/lib--keybind.h.html#L109' title='Defined at 109 in lib/keybind.h.'>CK_FileNext</a> ? 1 : -1);
<a id='L574' name='L574'></a> 574         <strong class='reserved'>break</strong>;
<a id='L575' name='L575'></a> 575     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L92' title='Defined at 92 in lib/keybind.h.'>CK_History</a>:
<a id='L576' name='L576'></a> 576         <a href='../S/src--viewer--actions_cmd.c.html#L395' title='Defined at 395 in src/viewer/actions_cmd.c.'>mcview_load_file_from_history</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L577' name='L577'></a> 577         <strong class='reserved'>break</strong>;
<a id='L578' name='L578'></a> 578     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L131' title='Defined at 131 in lib/keybind.h.'>CK_Quit</a>:
<a id='L579' name='L579'></a> 579         <strong class='reserved'>if</strong> (!<a href='../S/src--viewer--inlines.h.html#L50' title='Defined at 50 in src/viewer/inlines.h.'>mcview_is_in_panel</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>))
<a id='L580' name='L580'></a> 580             <a href='../S/lib--widget--dialog.c.html#L477' title='Defined at 477 in lib/widget/dialog.c.'>dlg_stop</a> (<a href='../S/lib--widget--dialog.h.html#L20' title='Defined at 20 in lib/widget/dialog.h.'>DIALOG</a> (<a href='../S/lib--widget--widget-common.h.html#L15' title='Defined at 15 in lib/widget/widget-common.h.'>WIDGET</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>)-&gt;<a href='../Y/owner.html' title='Multiple used in 127 places.'>owner</a>));
<a id='L581' name='L581'></a> 581         <strong class='reserved'>break</strong>;
<a id='L582' name='L582'></a> 582     <strong class='reserved'>case</strong> <a href='../S/lib--keybind.h.html#L219' title='Defined at 219 in lib/keybind.h.'>CK_Cancel</a>:
<a id='L583' name='L583'></a> 583         <em class='comment'>/* don't close viewer due to SIGINT */</em>
<a id='L584' name='L584'></a> 584         <strong class='reserved'>break</strong>;
<a id='L585' name='L585'></a> 585     <strong class='reserved'>default</strong>:
<a id='L586' name='L586'></a> 586         <a href='../Y/res.html' title='Multiple used in 390 places.'>res</a> = <a href='../S/lib--widget--widget-common.h.html#L63' title='Defined at 63 in lib/widget/widget-common.h.'>MSG_NOT_HANDLED</a>;
<a id='L587' name='L587'></a> 587     <em class='brace'>}</em>
<a id='L588' name='L588'></a> 588     <strong class='reserved'>return</strong> <a href='../Y/res.html' title='Multiple used in 390 places.'>res</a>;
<a id='L589' name='L589'></a> 589 <em class='brace'>}</em>
<a id='L590' name='L590'></a> 590 
<a id='L591' name='L591'></a> 591 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L592' name='L592'></a> 592 
<a id='L593' name='L593'></a> 593 <strong class='reserved'>static</strong> <strong class='reserved'>long</strong>
<a id='L594' name='L594'></a> 594 <a href='../S/src--viewer--actions_cmd.c.html#L617' title='Referred from 617 in src/viewer/actions_cmd.c.'>mcview_lookup_key</a> (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> * <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <strong class='reserved'>int</strong> <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a>)
     <em class='comment'>/* <a href='#L419'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L605'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+594 src/viewer/actions_cmd.c'  /> */</em>
<a id='L595' name='L595'></a> 595 <em class='brace'>{</em>
<a id='L596' name='L596'></a> 596     <strong class='reserved'>if</strong> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/mode_flags.html' title='Multiple used in 66 places.'>mode_flags</a>.<a href='../Y/hex.html' title='Multiple used in 51 places.'>hex</a>)
<a id='L597' name='L597'></a> 597         <strong class='reserved'>return</strong> <a href='../S/lib--keybind.c.html#L489' title='Defined at 489 in lib/keybind.c.'>keybind_lookup_keymap_command</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/hex_keymap.html' title='Multiple used in 4 places.'>hex_keymap</a>, <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a>);
<a id='L598' name='L598'></a> 598 
<a id='L599' name='L599'></a> 599     <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.c.html#L664' title='Defined at 664 in lib/widget/widget-common.c.'>widget_lookup_key</a> (<a href='../S/lib--widget--widget-common.h.html#L15' title='Defined at 15 in lib/widget/widget-common.h.'>WIDGET</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>), <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a>);
<a id='L600' name='L600'></a> 600 <em class='brace'>}</em>
<a id='L601' name='L601'></a> 601 
<a id='L602' name='L602'></a> 602 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L603' name='L603'></a> 603 <em class='comment'>/** Both views */</em>
<a id='L604' name='L604'></a> 604 <strong class='reserved'>static</strong> <a href='../S/lib--widget--widget-common.h.html#L65' title='Defined at 65 in lib/widget/widget-common.h.'>cb_ret_t</a>
<a id='L605' name='L605'></a> 605 <a href='../S/src--viewer--actions_cmd.c.html#L717' title='Referred from 717 in src/viewer/actions_cmd.c.'>mcview_handle_key</a> (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> * <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <strong class='reserved'>int</strong> <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a>)
     <em class='comment'>/* <a href='#L594'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L639'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+605 src/viewer/actions_cmd.c'  /> */</em>
<a id='L606' name='L606'></a> 606 <em class='brace'>{</em>
<a id='L607' name='L607'></a> 607     <strong class='reserved'>long</strong> <a href='../Y/command.html' title='Multiple used in 270 places.'>command</a>;
<a id='L608' name='L608'></a> 608 
<a id='L609' name='L609'></a> 609 <em class='sharp'>#ifdef</em> <a href='../S/tests--lib--vfs--tempdir.c.html#L31' title='Defined at 31 in tests/lib/vfs/tempdir.c.'>HAVE_CHARSET</a>
<a id='L610' name='L610'></a> 610     <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> = <a href='../S/lib--charsets.h.html#L87' title='Defined at 87 in lib/charsets.h.'>convert_from_input_c</a> (<a href='../Y/key.html' title='Multiple used in 226 places.'>key</a>);
<a id='L611' name='L611'></a> 611 <em class='sharp'>#endif</em>
<a id='L612' name='L612'></a> 612 
<a id='L613' name='L613'></a> 613     <strong class='reserved'>if</strong> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/hexedit_mode.html' title='Multiple used in 6 places.'>hexedit_mode</a> &amp;&amp; <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/mode_flags.html' title='Multiple used in 66 places.'>mode_flags</a>.<a href='../Y/hex.html' title='Multiple used in 51 places.'>hex</a>
<a id='L614' name='L614'></a> 614         &amp;&amp; <a href='../S/src--viewer--actions_cmd.c.html#L221' title='Defined at 221 in src/viewer/actions_cmd.c.'>mcview_handle_editkey</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a>) == <a href='../S/lib--widget--widget-common.h.html#L64' title='Defined at 64 in lib/widget/widget-common.h.'>MSG_HANDLED</a>)
<a id='L615' name='L615'></a> 615         <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L64' title='Defined at 64 in lib/widget/widget-common.h.'>MSG_HANDLED</a>;
<a id='L616' name='L616'></a> 616 
<a id='L617' name='L617'></a> 617     <a href='../Y/command.html' title='Multiple used in 270 places.'>command</a> = <a href='../S/src--viewer--actions_cmd.c.html#L594' title='Defined at 594 in src/viewer/actions_cmd.c.'>mcview_lookup_key</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a>);
<a id='L618' name='L618'></a> 618     <strong class='reserved'>if</strong> (<a href='../Y/command.html' title='Multiple used in 270 places.'>command</a> != <a href='../S/lib--keybind.h.html#L41' title='Defined at 41 in lib/keybind.h.'>CK_IgnoreKey</a> &amp;&amp; <a href='../S/src--viewer--actions_cmd.c.html#L419' title='Defined at 419 in src/viewer/actions_cmd.c.'>mcview_execute_cmd</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/command.html' title='Multiple used in 270 places.'>command</a>) == <a href='../S/lib--widget--widget-common.h.html#L64' title='Defined at 64 in lib/widget/widget-common.h.'>MSG_HANDLED</a>)
<a id='L619' name='L619'></a> 619         <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L64' title='Defined at 64 in lib/widget/widget-common.h.'>MSG_HANDLED</a>;
<a id='L620' name='L620'></a> 620 
<a id='L621' name='L621'></a> 621 <em class='sharp'>#ifdef</em> <a href='../Y/MC_ENABLE_DEBUGGING_CODE.html' title='Multiple used in 4 places.'>MC_ENABLE_DEBUGGING_CODE</a>
<a id='L622' name='L622'></a> 622     <strong class='reserved'>if</strong> (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a> == 't')
<a id='L623' name='L623'></a> 623     <em class='brace'>{</em>                           <em class='comment'>/* mnemonic: "test" */</em>
<a id='L624' name='L624'></a> 624         <a href='../S/src--viewer--coord_cache.c.html#L209' title='Defined at 209 in src/viewer/coord_cache.c.'>mcview_ccache_dump</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L625' name='L625'></a> 625         <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L64' title='Defined at 64 in lib/widget/widget-common.h.'>MSG_HANDLED</a>;
<a id='L626' name='L626'></a> 626     <em class='brace'>}</em>
<a id='L627' name='L627'></a> 627 <em class='sharp'>#endif</em>
<a id='L628' name='L628'></a> 628     <strong class='reserved'>if</strong> (<a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> &gt;= '0' &amp;&amp; <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> &lt;= '9')
<a id='L629' name='L629'></a> 629         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/marker.html' title='Multiple used in 5 places.'>marker</a> = <a href='../Y/key.html' title='Multiple used in 226 places.'>key</a> - '0';
<a id='L630' name='L630'></a> 630 
<a id='L631' name='L631'></a> 631     <em class='comment'>/* Key not used */</em>
<a id='L632' name='L632'></a> 632     <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L63' title='Defined at 63 in lib/widget/widget-common.h.'>MSG_NOT_HANDLED</a>;
<a id='L633' name='L633'></a> 633 <em class='brace'>}</em>
<a id='L634' name='L634'></a> 634 
<a id='L635' name='L635'></a> 635 
<a id='L636' name='L636'></a> 636 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L637' name='L637'></a> 637 
<a id='L638' name='L638'></a> 638 <strong class='reserved'>static</strong> <strong class='reserved'>inline</strong> <strong class='reserved'>void</strong>
<a id='L639' name='L639'></a> 639 <a href='../S/src--viewer--actions_cmd.c.html#L734' title='Referred from 734 in src/viewer/actions_cmd.c.'>mcview_resize</a> (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> * <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>)
     <em class='comment'>/* <a href='#L605'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L649'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+639 src/viewer/actions_cmd.c'  /> */</em>
<a id='L640' name='L640'></a> 640 <em class='brace'>{</em>
<a id='L641' name='L641'></a> 641     <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dpy_wrap_dirty.html' title='Multiple used in 22 places.'>dpy_wrap_dirty</a> = <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>;
<a id='L642' name='L642'></a> 642     <a href='../S/src--viewer--display.c.html#L259' title='Defined at 259 in src/viewer/display.c.'>mcview_compute_areas</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L643' name='L643'></a> 643     <a href='../S/src--viewer--display.c.html#L315' title='Defined at 315 in src/viewer/display.c.'>mcview_update_bytes_per_line</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L644' name='L644'></a> 644 <em class='brace'>}</em>
<a id='L645' name='L645'></a> 645 
<a id='L646' name='L646'></a> 646 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L647' name='L647'></a> 647 
<a id='L648' name='L648'></a> 648 <strong class='reserved'>static</strong> <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a>
<a id='L649' name='L649'></a> 649 <a href='../R/mcview_ok_to_quit.html' title='Multiple referred from 2 places.'>mcview_ok_to_quit</a> (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> * <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>)
     <em class='comment'>/* <a href='#L639'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L690'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+649 src/viewer/actions_cmd.c'  /> */</em>
<a id='L650' name='L650'></a> 650 <em class='brace'>{</em>
<a id='L651' name='L651'></a> 651     <strong class='reserved'>int</strong> <a href='../Y/r.html' title='Multiple used in 354 places.'>r</a>;
<a id='L652' name='L652'></a> 652 
<a id='L653' name='L653'></a> 653     <strong class='reserved'>if</strong> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/change_list.html' title='Multiple used in 15 places.'>change_list</a> == <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>)
<a id='L654' name='L654'></a> 654         <strong class='reserved'>return</strong> <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>;
<a id='L655' name='L655'></a> 655 
<a id='L656' name='L656'></a> 656     <strong class='reserved'>if</strong> (!<a href='../Y/mc_global.html' title='Multiple used in 619 places.'>mc_global</a>.<a href='../Y/midnight_shutdown.html' title='Multiple used in 21 places.'>midnight_shutdown</a>)
<a id='L657' name='L657'></a> 657     <em class='brace'>{</em>
<a id='L658' name='L658'></a> 658         <a href='../S/lib--widget--wtools.c.html#L375' title='Defined at 375 in lib/widget/wtools.c.'>query_set_sel</a> (2);
<a id='L659' name='L659'></a> 659         <a href='../Y/r.html' title='Multiple used in 354 places.'>r</a> = <a href='../S/lib--widget--wtools.c.html#L273' title='Defined at 273 in lib/widget/wtools.c.'>query_dialog</a> (<a href='../D/_.html' title='Multiple defined in 2 places.'>_</a>("Quit"),
<a id='L660' name='L660'></a> 660                           <a href='../D/_.html' title='Multiple defined in 2 places.'>_</a>("File was modified. Save with exit?"), <a href='../S/lib--widget--wtools.h.html#L30' title='Defined at 30 in lib/widget/wtools.h.'>D_NORMAL</a>, 3,
<a id='L661' name='L661'></a> 661                           <a href='../D/_.html' title='Multiple defined in 2 places.'>_</a>("&amp;Yes"), <a href='../D/_.html' title='Multiple defined in 2 places.'>_</a>("&amp;No"), <a href='../D/_.html' title='Multiple defined in 2 places.'>_</a>("&amp;Cancel quit"));
<a id='L662' name='L662'></a> 662     <em class='brace'>}</em>
<a id='L663' name='L663'></a> 663     <strong class='reserved'>else</strong>
<a id='L664' name='L664'></a> 664     <em class='brace'>{</em>
<a id='L665' name='L665'></a> 665         <a href='../Y/r.html' title='Multiple used in 354 places.'>r</a> = <a href='../S/lib--widget--wtools.c.html#L273' title='Defined at 273 in lib/widget/wtools.c.'>query_dialog</a> (<a href='../D/_.html' title='Multiple defined in 2 places.'>_</a>("Quit"),
<a id='L666' name='L666'></a> 666                           <a href='../D/_.html' title='Multiple defined in 2 places.'>_</a>("Midnight Commander is being shut down.\nSave modified file?"),
<a id='L667' name='L667'></a> 667                           <a href='../S/lib--widget--wtools.h.html#L30' title='Defined at 30 in lib/widget/wtools.h.'>D_NORMAL</a>, 2, <a href='../D/_.html' title='Multiple defined in 2 places.'>_</a>("&amp;Yes"), <a href='../D/_.html' title='Multiple defined in 2 places.'>_</a>("&amp;No"));
<a id='L668' name='L668'></a> 668         <em class='comment'>/* Esc is No */</em>
<a id='L669' name='L669'></a> 669         <strong class='reserved'>if</strong> (<a href='../Y/r.html' title='Multiple used in 354 places.'>r</a> == -1)
<a id='L670' name='L670'></a> 670             <a href='../Y/r.html' title='Multiple used in 354 places.'>r</a> = 1;
<a id='L671' name='L671'></a> 671     <em class='brace'>}</em>
<a id='L672' name='L672'></a> 672 
<a id='L673' name='L673'></a> 673     <strong class='reserved'>switch</strong> (<a href='../Y/r.html' title='Multiple used in 354 places.'>r</a>)
<a id='L674' name='L674'></a> 674     <em class='brace'>{</em>
<a id='L675' name='L675'></a> 675     <strong class='reserved'>case</strong> 0:                    <em class='comment'>/* Yes */</em>
<a id='L676' name='L676'></a> 676         <strong class='reserved'>return</strong> <a href='../S/src--viewer--hex.c.html#L380' title='Defined at 380 in src/viewer/hex.c.'>mcview_hexedit_save_changes</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>) || <a href='../Y/mc_global.html' title='Multiple used in 619 places.'>mc_global</a>.<a href='../Y/midnight_shutdown.html' title='Multiple used in 21 places.'>midnight_shutdown</a>;
<a id='L677' name='L677'></a> 677     <strong class='reserved'>case</strong> 1:                    <em class='comment'>/* No */</em>
<a id='L678' name='L678'></a> 678         <a href='../S/src--viewer--hex.c.html#L451' title='Defined at 451 in src/viewer/hex.c.'>mcview_hexedit_free_change_list</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L679' name='L679'></a> 679         <strong class='reserved'>return</strong> <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>;
<a id='L680' name='L680'></a> 680     <strong class='reserved'>default</strong>:
<a id='L681' name='L681'></a> 681         <strong class='reserved'>return</strong> <a href='../Y/FALSE.html' title='Multiple used in 1594 places.'>FALSE</a>;
<a id='L682' name='L682'></a> 682     <em class='brace'>}</em>
<a id='L683' name='L683'></a> 683 <em class='brace'>}</em>
<a id='L684' name='L684'></a> 684 
<a id='L685' name='L685'></a> 685 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L686' name='L686'></a> 686 <em class='comment'>/*** public functions ****************************************************************************/</em>
<a id='L687' name='L687'></a> 687 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L688' name='L688'></a> 688 
<a id='L689' name='L689'></a> 689 <a href='../S/lib--widget--widget-common.h.html#L65' title='Defined at 65 in lib/widget/widget-common.h.'>cb_ret_t</a>
<a id='L690' name='L690'></a> 690 <a href='../R/mcview_callback.html' title='Multiple referred from 4 places.'>mcview_callback</a> (<a href='../D/Widget.html' title='Multiple defined in 2 places.'>Widget</a> * <a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>, <a href='../D/Widget.html' title='Multiple defined in 2 places.'>Widget</a> * <a href='../Y/sender.html' title='Multiple used in 173 places.'>sender</a>, <a href='../S/lib--widget--widget-common.h.html#L52' title='Defined at 52 in lib/widget/widget-common.h.'>widget_msg_t</a> <a href='../Y/msg.html' title='Multiple used in 374 places.'>msg</a>, <strong class='reserved'>int</strong> <a href='../Y/parm.html' title='Multiple used in 223 places.'>parm</a>, <strong class='reserved'>void</strong> *<a href='../Y/data.html' title='Multiple used in 912 places.'>data</a>)
     <em class='comment'>/* <a href='#L649'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L778'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+690 src/viewer/actions_cmd.c'  /> */</em>
<a id='L691' name='L691'></a> 691 <em class='brace'>{</em>
<a id='L692' name='L692'></a> 692     <a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> *<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a> = (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> *) <a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>;
<a id='L693' name='L693'></a> 693     <a href='../S/lib--widget--widget-common.h.html#L65' title='Defined at 65 in lib/widget/widget-common.h.'>cb_ret_t</a> <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a>;
<a id='L694' name='L694'></a> 694 
<a id='L695' name='L695'></a> 695     <a href='../S/src--viewer--display.c.html#L259' title='Defined at 259 in src/viewer/display.c.'>mcview_compute_areas</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L696' name='L696'></a> 696     <a href='../S/src--viewer--display.c.html#L315' title='Defined at 315 in src/viewer/display.c.'>mcview_update_bytes_per_line</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L697' name='L697'></a> 697 
<a id='L698' name='L698'></a> 698     <strong class='reserved'>switch</strong> (<a href='../Y/msg.html' title='Multiple used in 374 places.'>msg</a>)
<a id='L699' name='L699'></a> 699     <em class='brace'>{</em>
<a id='L700' name='L700'></a> 700     <strong class='reserved'>case</strong> <a href='../S/lib--widget--widget-common.h.html#L31' title='Defined at 31 in lib/widget/widget-common.h.'>MSG_INIT</a>:
<a id='L701' name='L701'></a> 701         <strong class='reserved'>if</strong> (<a href='../S/src--viewer--inlines.h.html#L50' title='Defined at 50 in src/viewer/inlines.h.'>mcview_is_in_panel</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>))
<a id='L702' name='L702'></a> 702             <a href='../S/lib--hook.c.html#L57' title='Defined at 57 in lib/hook.c.'>add_hook</a> (&amp;<a href='../Y/select_file_hook.html' title='Multiple used in 7 places.'>select_file_hook</a>, <a href='../S/src--viewer--actions_cmd.c.html#L189' title='Defined at 189 in src/viewer/actions_cmd.c.'>mcview_hook</a>, <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L703' name='L703'></a> 703         <strong class='reserved'>else</strong>
<a id='L704' name='L704'></a> 704             <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dpy_bbar_dirty.html' title='Multiple used in 13 places.'>dpy_bbar_dirty</a> = <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>;
<a id='L705' name='L705'></a> 705         <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L64' title='Defined at 64 in lib/widget/widget-common.h.'>MSG_HANDLED</a>;
<a id='L706' name='L706'></a> 706 
<a id='L707' name='L707'></a> 707     <strong class='reserved'>case</strong> <a href='../S/lib--widget--widget-common.h.html#L37' title='Defined at 37 in lib/widget/widget-common.h.'>MSG_DRAW</a>:
<a id='L708' name='L708'></a> 708         <a href='../S/src--viewer--display.c.html#L247' title='Defined at 247 in src/viewer/display.c.'>mcview_display</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L709' name='L709'></a> 709         <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L64' title='Defined at 64 in lib/widget/widget-common.h.'>MSG_HANDLED</a>;
<a id='L710' name='L710'></a> 710 
<a id='L711' name='L711'></a> 711     <strong class='reserved'>case</strong> <a href='../S/lib--widget--widget-common.h.html#L46' title='Defined at 46 in lib/widget/widget-common.h.'>MSG_CURSOR</a>:
<a id='L712' name='L712'></a> 712         <strong class='reserved'>if</strong> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/mode_flags.html' title='Multiple used in 66 places.'>mode_flags</a>.<a href='../Y/hex.html' title='Multiple used in 51 places.'>hex</a>)
<a id='L713' name='L713'></a> 713             <a href='../S/src--viewer--move.c.html#L378' title='Defined at 378 in src/viewer/move.c.'>mcview_place_cursor</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L714' name='L714'></a> 714         <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L64' title='Defined at 64 in lib/widget/widget-common.h.'>MSG_HANDLED</a>;
<a id='L715' name='L715'></a> 715 
<a id='L716' name='L716'></a> 716     <strong class='reserved'>case</strong> <a href='../S/lib--widget--widget-common.h.html#L38' title='Defined at 38 in lib/widget/widget-common.h.'>MSG_KEY</a>:
<a id='L717' name='L717'></a> 717         <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a> = <a href='../S/src--viewer--actions_cmd.c.html#L605' title='Defined at 605 in src/viewer/actions_cmd.c.'>mcview_handle_key</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/parm.html' title='Multiple used in 223 places.'>parm</a>);
<a id='L718' name='L718'></a> 718         <a href='../S/src--viewer--display.c.html#L201' title='Defined at 201 in src/viewer/display.c.'>mcview_update</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L719' name='L719'></a> 719         <strong class='reserved'>return</strong> <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a>;
<a id='L720' name='L720'></a> 720 
<a id='L721' name='L721'></a> 721     <strong class='reserved'>case</strong> <a href='../S/lib--widget--widget-common.h.html#L43' title='Defined at 43 in lib/widget/widget-common.h.'>MSG_ACTION</a>:
<a id='L722' name='L722'></a> 722         <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a> = <a href='../S/src--viewer--actions_cmd.c.html#L419' title='Defined at 419 in src/viewer/actions_cmd.c.'>mcview_execute_cmd</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>, <a href='../Y/parm.html' title='Multiple used in 223 places.'>parm</a>);
<a id='L723' name='L723'></a> 723         <a href='../S/src--viewer--display.c.html#L201' title='Defined at 201 in src/viewer/display.c.'>mcview_update</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L724' name='L724'></a> 724         <strong class='reserved'>return</strong> <a href='../Y/i.html' title='Multiple used in 2441 places.'>i</a>;
<a id='L725' name='L725'></a> 725 
<a id='L726' name='L726'></a> 726     <strong class='reserved'>case</strong> <a href='../S/lib--widget--widget-common.h.html#L32' title='Defined at 32 in lib/widget/widget-common.h.'>MSG_FOCUS</a>:
<a id='L727' name='L727'></a> 727         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>-&gt;<a href='../Y/dpy_bbar_dirty.html' title='Multiple used in 13 places.'>dpy_bbar_dirty</a> = <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>;
<a id='L728' name='L728'></a> 728         <em class='comment'>/* TODO: get rid of draw here before MSG_DRAW */</em>
<a id='L729' name='L729'></a> 729         <a href='../S/src--viewer--display.c.html#L201' title='Defined at 201 in src/viewer/display.c.'>mcview_update</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L730' name='L730'></a> 730         <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L64' title='Defined at 64 in lib/widget/widget-common.h.'>MSG_HANDLED</a>;
<a id='L731' name='L731'></a> 731 
<a id='L732' name='L732'></a> 732     <strong class='reserved'>case</strong> <a href='../S/lib--widget--widget-common.h.html#L48' title='Defined at 48 in lib/widget/widget-common.h.'>MSG_RESIZE</a>:
<a id='L733' name='L733'></a> 733         <a href='../S/lib--widget--widget-common.c.html#L358' title='Defined at 358 in lib/widget/widget-common.c.'>widget_default_callback</a> (<a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>, <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>, <a href='../S/lib--widget--widget-common.h.html#L48' title='Defined at 48 in lib/widget/widget-common.h.'>MSG_RESIZE</a>, 0, <a href='../Y/data.html' title='Multiple used in 912 places.'>data</a>);
<a id='L734' name='L734'></a> 734         <a href='../S/src--viewer--actions_cmd.c.html#L639' title='Defined at 639 in src/viewer/actions_cmd.c.'>mcview_resize</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L735' name='L735'></a> 735         <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L64' title='Defined at 64 in lib/widget/widget-common.h.'>MSG_HANDLED</a>;
<a id='L736' name='L736'></a> 736 
<a id='L737' name='L737'></a> 737     <strong class='reserved'>case</strong> <a href='../S/lib--widget--widget-common.h.html#L51' title='Defined at 51 in lib/widget/widget-common.h.'>MSG_DESTROY</a>:
<a id='L738' name='L738'></a> 738         <strong class='reserved'>if</strong> (<a href='../S/src--viewer--inlines.h.html#L50' title='Defined at 50 in src/viewer/inlines.h.'>mcview_is_in_panel</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>))
<a id='L739' name='L739'></a> 739         <em class='brace'>{</em>
<a id='L740' name='L740'></a> 740             <a href='../S/lib--hook.c.html#L104' title='Defined at 104 in lib/hook.c.'>delete_hook</a> (&amp;<a href='../Y/select_file_hook.html' title='Multiple used in 7 places.'>select_file_hook</a>, <a href='../S/src--viewer--actions_cmd.c.html#L189' title='Defined at 189 in src/viewer/actions_cmd.c.'>mcview_hook</a>);
<a id='L741' name='L741'></a> 741 
<a id='L742' name='L742'></a> 742             <em class='comment'>/*</em>
<a id='L743' name='L743'></a> 743 <em class='comment'>             * In some cases when mc startup is very slow and one panel is in quick vew mode,</em>
<a id='L744' name='L744'></a> 744 <em class='comment'>             * @view is registered in two hook lists at the same time:</em>
<a id='L745' name='L745'></a> 745 <em class='comment'>             *   mcview_callback (MSG_INIT) -&gt; add_hook (&amp;select_file_hook)</em>
<a id='L746' name='L746'></a> 746 <em class='comment'>             *   mcview_hook () -&gt; add_hook (&amp;idle_hook).</em>
<a id='L747' name='L747'></a> 747 <em class='comment'>             * If initialization of file manager is not completed yet, but user switches</em>
<a id='L748' name='L748'></a> 748 <em class='comment'>             * panel mode from qick view to another one (by pressing C-x q), the following</em>
<a id='L749' name='L749'></a> 749 <em class='comment'>             * occurs:</em>
<a id='L750' name='L750'></a> 750 <em class='comment'>             *   view hook is deleted from select_file_hook list via following call chain:</em>
<a id='L751' name='L751'></a> 751 <em class='comment'>             *      create_panel (view_listing) -&gt; widget_replace () -&gt;</em>
<a id='L752' name='L752'></a> 752 <em class='comment'>             *      send_message (MSG_DESTROY) -&gt; mcview_callback (MSG_DESTROY) -&gt;</em>
<a id='L753' name='L753'></a> 753 <em class='comment'>             *      delete_hook (&amp;select_file_hook);</em>
<a id='L754' name='L754'></a> 754 <em class='comment'>             *   @view object is free'd:</em>
<a id='L755' name='L755'></a> 755 <em class='comment'>             *      create_panel (view_listing) -&gt; g_free (old_widget);</em>
<a id='L756' name='L756'></a> 756 <em class='comment'>             *   but @view still is in idle_hook list and tried to be executed:</em>
<a id='L757' name='L757'></a> 757 <em class='comment'>             *      frontend_dlg_run () -&gt; execute_hooks (idle_hook).</em>
<a id='L758' name='L758'></a> 758 <em class='comment'>             * Thus here we have access to free'd @view object. To prevent this, remove view hook</em>
<a id='L759' name='L759'></a> 759 <em class='comment'>             * from idle_hook list.</em>
<a id='L760' name='L760'></a> 760 <em class='comment'>             */</em>
<a id='L761' name='L761'></a> 761             <a href='../S/lib--hook.c.html#L104' title='Defined at 104 in lib/hook.c.'>delete_hook</a> (&amp;<a href='../Y/idle_hook.html' title='Multiple used in 8 places.'>idle_hook</a>, <a href='../S/src--viewer--actions_cmd.c.html#L189' title='Defined at 189 in src/viewer/actions_cmd.c.'>mcview_hook</a>);
<a id='L762' name='L762'></a> 762 
<a id='L763' name='L763'></a> 763             <strong class='reserved'>if</strong> (<a href='../Y/mc_global.html' title='Multiple used in 619 places.'>mc_global</a>.<a href='../Y/midnight_shutdown.html' title='Multiple used in 21 places.'>midnight_shutdown</a>)
<a id='L764' name='L764'></a> 764                 <a href='../S/src--viewer--actions_cmd.c.html#L649' title='Defined at 649 in src/viewer/actions_cmd.c.'>mcview_ok_to_quit</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L765' name='L765'></a> 765         <em class='brace'>}</em>
<a id='L766' name='L766'></a> 766         <a href='../S/src--viewer--lib.c.html#L204' title='Defined at 204 in src/viewer/lib.c.'>mcview_done</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L767' name='L767'></a> 767         <a href='../S/src--viewer--actions_cmd.c.html#L87' title='Defined at 87 in src/viewer/actions_cmd.c.'>mcview_remove_ext_script</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L768' name='L768'></a> 768         <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L64' title='Defined at 64 in lib/widget/widget-common.h.'>MSG_HANDLED</a>;
<a id='L769' name='L769'></a> 769 
<a id='L770' name='L770'></a> 770     <strong class='reserved'>default</strong>:
<a id='L771' name='L771'></a> 771         <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.c.html#L358' title='Defined at 358 in lib/widget/widget-common.c.'>widget_default_callback</a> (<a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>, <a href='../Y/sender.html' title='Multiple used in 173 places.'>sender</a>, <a href='../Y/msg.html' title='Multiple used in 374 places.'>msg</a>, <a href='../Y/parm.html' title='Multiple used in 223 places.'>parm</a>, <a href='../Y/data.html' title='Multiple used in 912 places.'>data</a>);
<a id='L772' name='L772'></a> 772     <em class='brace'>}</em>
<a id='L773' name='L773'></a> 773 <em class='brace'>}</em>
<a id='L774' name='L774'></a> 774 
<a id='L775' name='L775'></a> 775 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L776' name='L776'></a> 776 
<a id='L777' name='L777'></a> 777 <a href='../S/lib--widget--widget-common.h.html#L65' title='Defined at 65 in lib/widget/widget-common.h.'>cb_ret_t</a>
<a id='L778' name='L778'></a> 778 <a href='../R/mcview_dialog_callback.html' title='Multiple referred from 2 places.'>mcview_dialog_callback</a> (<a href='../D/Widget.html' title='Multiple defined in 2 places.'>Widget</a> * <a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>, <a href='../D/Widget.html' title='Multiple defined in 2 places.'>Widget</a> * <a href='../Y/sender.html' title='Multiple used in 173 places.'>sender</a>, <a href='../S/lib--widget--widget-common.h.html#L52' title='Defined at 52 in lib/widget/widget-common.h.'>widget_msg_t</a> <a href='../Y/msg.html' title='Multiple used in 374 places.'>msg</a>, <strong class='reserved'>int</strong> <a href='../Y/parm.html' title='Multiple used in 223 places.'>parm</a>, <strong class='reserved'>void</strong> *<a href='../Y/data.html' title='Multiple used in 912 places.'>data</a>)
     <em class='comment'>/* <a href='#L690'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+778 src/viewer/actions_cmd.c'  /> */</em>
<a id='L779' name='L779'></a> 779 <em class='brace'>{</em>
<a id='L780' name='L780'></a> 780     <a href='../D/WDialog.html' title='Multiple defined in 2 places.'>WDialog</a> *<a href='../Y/h.html' title='Multiple used in 470 places.'>h</a> = <a href='../S/lib--widget--dialog.h.html#L20' title='Defined at 20 in lib/widget/dialog.h.'>DIALOG</a> (<a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>);
<a id='L781' name='L781'></a> 781     <a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> *<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>;
<a id='L782' name='L782'></a> 782 
<a id='L783' name='L783'></a> 783     <strong class='reserved'>switch</strong> (<a href='../Y/msg.html' title='Multiple used in 374 places.'>msg</a>)
<a id='L784' name='L784'></a> 784     <em class='brace'>{</em>
<a id='L785' name='L785'></a> 785     <strong class='reserved'>case</strong> <a href='../S/lib--widget--widget-common.h.html#L43' title='Defined at 43 in lib/widget/widget-common.h.'>MSG_ACTION</a>:
<a id='L786' name='L786'></a> 786         <em class='comment'>/* Handle shortcuts. */</em>
<a id='L787' name='L787'></a> 787 
<a id='L788' name='L788'></a> 788         <em class='comment'>/* Note: the buttonbar sends messages directly to the the WView, not to</em>
<a id='L789' name='L789'></a> 789 <em class='comment'>         * here, which is why we can pass NULL in the following call. */</em>
<a id='L790' name='L790'></a> 790         <strong class='reserved'>return</strong> <a href='../S/src--viewer--actions_cmd.c.html#L419' title='Defined at 419 in src/viewer/actions_cmd.c.'>mcview_execute_cmd</a> (<a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>, <a href='../Y/parm.html' title='Multiple used in 223 places.'>parm</a>);
<a id='L791' name='L791'></a> 791 
<a id='L792' name='L792'></a> 792     <strong class='reserved'>case</strong> <a href='../S/lib--widget--widget-common.h.html#L49' title='Defined at 49 in lib/widget/widget-common.h.'>MSG_VALIDATE</a>:
<a id='L793' name='L793'></a> 793         <a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a> = (<a href='../D/WView.html' title='Multiple defined in 2 places.'>WView</a> *) <a href='../S/lib--widget--widget-common.h.html#L308' title='Defined at 308 in lib/widget/widget-common.h.'>widget_find_by_type</a> (<a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>, <a href='../S/src--viewer--actions_cmd.c.html#L690' title='Defined at 690 in src/viewer/actions_cmd.c.'>mcview_callback</a>);
<a id='L794' name='L794'></a> 794         <em class='comment'>/* don't stop the dialog before final decision */</em>
<a id='L795' name='L795'></a> 795         <a href='../S/lib--widget--widget-common.h.html#L341' title='Defined at 341 in lib/widget/widget-common.h.'>widget_set_state</a> (<a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>, <a href='../S/lib--widget--widget-common.h.html#L89' title='Defined at 89 in lib/widget/widget-common.h.'>WST_ACTIVE</a>, <a href='../Y/TRUE.html' title='Multiple used in 1520 places.'>TRUE</a>);
<a id='L796' name='L796'></a> 796         <strong class='reserved'>if</strong> (<a href='../S/src--viewer--actions_cmd.c.html#L649' title='Defined at 649 in src/viewer/actions_cmd.c.'>mcview_ok_to_quit</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>))
<a id='L797' name='L797'></a> 797             <a href='../S/lib--widget--dialog.c.html#L477' title='Defined at 477 in lib/widget/dialog.c.'>dlg_stop</a> (<a href='../Y/h.html' title='Multiple used in 470 places.'>h</a>);
<a id='L798' name='L798'></a> 798         <strong class='reserved'>else</strong>
<a id='L799' name='L799'></a> 799             <a href='../S/src--viewer--display.c.html#L201' title='Defined at 201 in src/viewer/display.c.'>mcview_update</a> (<a href='../Y/view.html' title='Multiple used in 1205 places.'>view</a>);
<a id='L800' name='L800'></a> 800         <strong class='reserved'>return</strong> <a href='../S/lib--widget--widget-common.h.html#L64' title='Defined at 64 in lib/widget/widget-common.h.'>MSG_HANDLED</a>;
<a id='L801' name='L801'></a> 801 
<a id='L802' name='L802'></a> 802     <strong class='reserved'>default</strong>:
<a id='L803' name='L803'></a> 803         <strong class='reserved'>return</strong> <a href='../S/lib--widget--dialog.c.html#L333' title='Defined at 333 in lib/widget/dialog.c.'>dlg_default_callback</a> (<a href='../Y/w.html' title='Multiple used in 1375 places.'>w</a>, <a href='../Y/sender.html' title='Multiple used in 173 places.'>sender</a>, <a href='../Y/msg.html' title='Multiple used in 374 places.'>msg</a>, <a href='../Y/parm.html' title='Multiple used in 223 places.'>parm</a>, <a href='../Y/data.html' title='Multiple used in 912 places.'>data</a>);
<a id='L804' name='L804'></a> 804     <em class='brace'>}</em>
<a id='L805' name='L805'></a> 805 <em class='brace'>}</em>
<a id='L806' name='L806'></a> 806 
<a id='L807' name='L807'></a> 807 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L87'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L778'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+807 src/viewer/actions_cmd.c'  /> */</em>
</body>
</html>
